PageSourceSearch

https://www.phoenix.gov/etc.clientlibs/phx/clientlibs/clientlib-si…-a1f946b62236106a549a07a73e257d2c-lc.min.js

js phoenix.gov collected 2026-09-24 08:28:40 UTC 695,877 bytes, 3 lines download raw bytes

1/*! For license information please see main.js.LICENSE.txt */
2(()=>{var t={28:(t,e,n)=>{"use strict";var r=n(9392);t.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},34:(t,e,n)=>{"use strict";var r=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},67:(t,e,n)=>{"use strict";n(7145)},81:(t,e,n)=>{"use strict";var r=n(9565),i=n(9306),o=n(8551),a=n(6823),s=n(851),c=TypeError;t.exports=function(t,e){var n=arguments.length<2?s(t):e;if(i(n))return o(r(n,t));throw new c(a(t)+" is not iterable")}},113:(t,e,n)=>{"use strict";var r=n(6518),i=n(9213).find,o=n(6469),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},193:(t,e,n)=>{"use strict";n(511)("hasInstance")},221:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(34),a=n(4576),s=n(5652),c=Object.isSealed;r({target:"Object",stat:!0,forced:s||i(function(){c(1)})},{isSealed:function(t){return!o(t)||!(!s||"ArrayBuffer"!==a(t))||!!c&&c(t)}})},235:(t,e,n)=>{"use strict";var r=n(9213).forEach,i=n(4598)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},237:(t,e,n)=>{"use strict";n(6469)("flatMap")},259:(t,e,n)=>{"use strict";var r=n(4376),i=n(6198),o=n(6837),a=n(6080),s=function(t,e,n,c,l,u,h,f){for(var d,p,m=l,g=0,v=!!h&&a(h,f);g<c;)g in n&&(d=v?v(n[g],g,e):n[g],u>0&&r(d)?(p=i(d),m=s(t,e,d,p,m,u-1)-1):(o(m+1),t[m]=d),m++),g++;return m};t.exports=s},280:(t,e,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(6395),a=n(550),s=n(916).CONSTRUCTOR,c=n(3438),l=i("Promise"),u=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return c(u&&this===l?a:this,t)}})},283:(t,e,n)=>{"use strict";var r=n(9504),i=n(9039),o=n(4901),a=n(9297),s=n(3724),c=n(350).CONFIGURABLE,l=n(3706),u=n(1181),h=u.enforce,f=u.get,d=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),b=String(String).split("String"),_=t.exports=function(t,e,n){"Symbol("===m(d(e),0,7)&&(e="["+g(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||c&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&a(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=h(t);return a(r,"source")||(r.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=_(function(){return o(this)&&f(this).source||l(this)},"toString")},287:(t,e,n)=>{"use strict";n(6518)({target:"Object",stat:!0},{setPrototypeOf:n(2967)})},298:(t,e,n)=>{"use strict";var r=n(4576),i=n(5397),o=n(8480).f,a=n(7680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===r(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},326:(t,e,n)=>{"use strict";n(511)("unscopables")},350:(t,e,n)=>{"use strict";var r=n(3724),i=n(9297),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},397:(t,e,n)=>{"use strict";var r=n(7751);t.exports=r("document","documentElement")},421:t=>{"use strict";t.exports={}},431:t=>{"use strict";var e=TypeError;t.exports=function(t,n){if(t<n)throw new e("Not enough arguments");return t}},436:(t,e,n)=>{"use strict";var r,i,o,a=n(6518),s=n(6395),c=n(9088),l=n(4475),u=n(9565),h=n(6840),f=n(2967),d=n(687),p=n(7633),m=n(9306),g=n(4901),v=n(34),y=n(679),b=n(2293),_=n(9225).set,x=n(1955),w=n(3138),S=n(1103),E=n(8265),k=n(1181),C=n(550),O=n(916),A=n(6043),T="Promise",L=O.CONSTRUCTOR,P=O.REJECTION_EVENT,M=O.SUBCLASSING,j=k.getterFor(T),D=k.set,I=C&&C.prototype,R=C,N=I,F=l.TypeError,B=l.document,z=l.process,H=A.f,V=H,q=!!(B&&B.createEvent&&l.dispatchEvent),W="unhandledrejection",U=function(t){var e;return!(!v(t)||!g(e=t.then))&&e},G=function(t,e){var n,r,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,c=t.resolve,l=t.reject,h=t.domain;try{s?(a||(2===e.rejection&&Z(e),e.rejection=1),!0===s?n=o:(h&&h.enter(),n=s(o),h&&(h.exit(),i=!0)),n===t.promise?l(new F("Promise-chain cycle")):(r=U(n))?u(r,n,c,l):c(n)):l(o)}catch(t){h&&!i&&h.exit(),l(t)}
2},$=function(t,e){t.notified||(t.notified=!0,x(function(){for(var n,r=t.reactions;n=r.get();)G(n,t);t.notified=!1,e&&!t.rejection&&K(t)}))},Y=function(t,e,n){var r,i;q?((r=B.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),l.dispatchEvent(r)):r={promise:e,reason:n},!P&&(i=l["on"+t])?i(r):t===W&&w("Unhandled promise rejection",n)},K=function(t){u(_,l,function(){var e,n=t.facade,r=t.value;if(X(t)&&(e=S(function(){c?z.emit("unhandledRejection",r,n):Y(W,n,r)}),t.rejection=c||X(t)?2:1,e.error))throw e.value})},X=function(t){return 1!==t.rejection&&!t.parent},Z=function(t){u(_,l,function(){var e=t.facade;c?z.emit("rejectionHandled",e):Y("rejectionhandled",e,t.value)})},J=function(t,e,n){return function(r){t(e,r,n)}},Q=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,$(t,!0))},tt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new F("Promise can't be resolved itself");var r=U(e);r?x(function(){var n={done:!1};try{u(r,e,J(tt,n,t),J(Q,n,t))}catch(e){Q(n,e,t)}}):(t.value=e,t.state=1,$(t,!1))}catch(e){Q({done:!1},e,t)}}};if(L&&(N=(R=function(t){y(this,N),m(t),u(r,this);var e=j(this);try{t(J(tt,e),J(Q,e))}catch(t){Q(e,t)}}).prototype,(r=function(t){D(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=h(N,"then",function(t,e){var n=j(this),r=H(b(this,R));return n.parent=!0,r.ok=!g(t)||t,r.fail=g(e)&&e,r.domain=c?z.domain:void 0,0===n.state?n.reactions.add(r):x(function(){G(r,n)}),r.promise}),i=function(){var t=new r,e=j(t);this.promise=t,this.resolve=J(tt,e),this.reject=J(Q,e)},A.f=H=function(t){return t===R||void 0===t?new i(t):V(t)},!s&&g(C)&&I!==Object.prototype)){o=I.then,M||h(I,"then",function(t,e){var n=this;return new R(function(t,e){u(o,n,t,e)}).then(t,e)},{unsafe:!0});try{delete I.constructor}catch(t){}f&&f(I,N)}a({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:R}),d(R,T,!1,!0),p(T)},479:(t,e,n)=>{"use strict";n(687)(Math,"Math",!0)},511:(t,e,n)=>{"use strict";var r=n(9167),i=n(9297),o=n(1951),a=n(4913).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},516:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},537:(t,e,n)=>{"use strict";var r=n(550),i=n(4428),o=n(916).CONSTRUCTOR;t.exports=o||!i(function(t){r.all(t).then(void 0,function(){})})},550:(t,e,n)=>{"use strict";var r=n(4475);t.exports=r.Promise},566:(t,e,n)=>{"use strict";var r=n(9504),i=n(9306),o=n(34),a=n(9297),s=n(7680),c=n(616),l=Function,u=r([].concat),h=r([].join),f={};t.exports=c?l.bind:function(t){var e=i(this),n=e.prototype,r=s(arguments,1),c=function(){var n=u(r,s(arguments));return this instanceof c?function(t,e,n){if(!a(f,e)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";f[e]=l("C,a","return new C("+h(r,",")+")")}return f[e](t,n)}(e,n.length,n):e.apply(t,n)};return o(n)&&(c.prototype=n),c}},597:(t,e,n)=>{"use strict";var r=n(9039),i=n(8227),o=n(7388),a=i("species");t.exports=function(t){return o>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},616:(t,e,n)=>{"use strict";var r=n(9039);t.exports=!r(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},655:(t,e,n)=>{"use strict";var r=n(6955),i=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},679:(t,e,n)=>{"use strict";var r=n(1625),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new i("Incorrect invocation")}},687:(t,e,n)=>{"use strict";var r=n(4913).f,i=n(9297),o=n(8227)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,o)&&r(t,o,{configurable:!0,value:e})}},706:(t,e,n)=>{"use strict";var r=n(350).PROPER,i=n(9039),o=n(5071);t.exports=function(t){return i(function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||r&&o[t].name!==t})}},739:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(8981),a=n(2777);r({target:"Date",proto:!0,arity:1,forced:i(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=o(this),n=a(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},741:t=>{"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},744:(t,e,n)=>{"use strict";var r=n(9565),i=n(9504),o=n(9228),a=n(8551),s=n(4117),c=n(7750),l=n(2293),u=n(7829),h=n(8014),f=n(655),d=n(5966),p=n(6682),m=n(8429),g=n(9039),v=m.UNSUPPORTED_Y,y=Math.min,b=i([].push),_=i("".slice),x=!g(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),w="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;o("split",function(t,e,n){var i="0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:r(e,this,t,n)}:e;return[function(e,n){var o=c(this),a=s(e)?void 0:d(e,t);return a?r(a,e,o,n):r(i,f(o),e,n)},function(t,r){var o=a(this),s=f(t);if(!w){var c=n(i,o,s,r,i!==e);if(c.done)return c.value}var d=l(o,RegExp),m=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(v?"g":"y"),x=new d(v?"^(?:"+o.source+")":o,g),S=void 0===r?4294967295:r>>>0;if(0===S)return[];if(0===s.length)return null===p(x,s)?[s]:[];for(var E=0,k=0,C=[];k<s.length;){x.lastIndex=v?0:k;var O,A=p(x,v?_(s,k):s);if(null===A||(O=y(h(x.lastIndex+(v?k:0)),s.length))===E)k=u(s,k,m);
2else{if(b(C,_(s,E,k)),C.length===S)return C;for(var T=1;T<=A.length-1;T++)if(b(C,A[T]),C.length===S)return C;k=E=O}}return b(C,_(s,E)),C}]},w||!x,v)},747:(t,e,n)=>{"use strict";var r=n(6699),i=n(6193),o=n(6249),a=Error.captureStackTrace;t.exports=function(t,e,n,s){o&&(a?a(t,e):r(t,"stack",i(n,s)))}},757:(t,e,n)=>{"use strict";var r=n(7751),i=n(4901),o=n(1625),a=n(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},778:(t,e,n)=>{"use strict";var r=n(6518),i=n(7240);r({target:"String",proto:!0,forced:n(3061)("link")},{link:function(t){return i(this,"a","href",t)}})},788:(t,e,n)=>{"use strict";var r=n(34),i=n(4576),o=n(8227)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},838:(t,e,n)=>{"use strict";var r=n(6518),i=n(3839).findLast,o=n(6469);r({target:"Array",proto:!0},{findLast:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},851:(t,e,n)=>{"use strict";var r=n(6955),i=n(5966),o=n(4117),a=n(6269),s=n(8227)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[r(t)]}},875:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(8981),a=n(2787),s=n(2211);r({target:"Object",stat:!0,forced:i(function(){a(1)}),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},915:t=>{"use strict";var e="bfred-it:object-fit-images",n=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,r="undefined"==typeof Image?{style:{"object-position":1}}:new Image,i="object-fit"in r.style,o="object-position"in r.style,a="background-size"in r.style,s="string"==typeof r.currentSrc,c=r.getAttribute,l=r.setAttribute,u=!1;function h(t,e,n){var r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(e||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";c.call(t,"src")!==r&&l.call(t,"src",r)}function f(t,e){t.naturalWidth?e(t):setTimeout(f,100,t,e)}function d(t){var r=function(t){for(var e,r=getComputedStyle(t).fontFamily,i={};null!==(e=n.exec(r));)i[e[1]]=e[2];return i}(t),o=t[e];if(r["object-fit"]=r["object-fit"]||"fill",!o.img){if("fill"===r["object-fit"])return;if(!o.skipTest&&i&&!r["object-position"])return}if(!o.img){o.img=new Image(t.width,t.height),o.img.srcset=c.call(t,"data-ofi-srcset")||t.srcset,o.img.src=c.call(t,"data-ofi-src")||t.src,l.call(t,"data-ofi-src",t.src),t.srcset&&l.call(t,"data-ofi-srcset",t.srcset),h(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{!function(t){var n={get:function(n){return t[e].img[n||"src"]},set:function(n,r){return t[e].img[r||"src"]=n,l.call(t,"data-ofi-"+r,n),d(t),n}};Object.defineProperty(t,"src",n),Object.defineProperty(t,"currentSrc",{get:function(){return n.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return n.get("srcset")},set:function(t){return n.set(t,"srcset")}})}(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!s&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}(o.img),t.style.backgroundImage='url("'+(o.img.currentSrc||o.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=r["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(r["object-fit"])?f(o.img,function(){o.img.naturalWidth>t.width||o.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"}):t.style.backgroundSize=r["object-fit"].replace("none","auto").replace("fill","100% 100%"),f(o.img,function(e){h(t,e.naturalWidth,e.naturalHeight)})}function p(t,n){var r=!u&&!t;if(n=n||{},t=t||"img",o&&!n.skipTest||!a)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var i=0;i<t.length;i++)t[i][e]=t[i][e]||{skipTest:n.skipTest},d(t[i]);r&&(document.body.addEventListener("load",function(t){"IMG"===t.target.tagName&&p(t.target,{skipTest:n.skipTest})},!0),u=!0,t="img"),n.watchMQ&&window.addEventListener("resize",p.bind(null,t,{skipTest:n.skipTest}))}p.supportsObjectFit=i,p.supportsObjectPosition=o,function(){function t(t,n){return t[e]&&t[e].img&&("src"===n||"srcset"===n)?t[e].img:t}o||(HTMLImageElement.prototype.getAttribute=function(e){return c.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,n){return l.call(t(this,e),e,String(n))})}(),t.exports=p},916:(t,e,n)=>{"use strict";var r=n(4475),i=n(550),o=n(4901),a=n(2796),s=n(3706),c=n(8227),l=n(7290),u=n(516),h=n(6395),f=n(7388),d=i&&i.prototype,p=c("species"),m=!1,g=o(r.PromiseRejectionEvent),v=a("Promise",function(){var t=s(i),e=t!==String(i);if(!e&&66===f)return!0;
2if(h&&(!d.catch||!d.finally))return!0;if(!f||f<51||!/native code/.test(t)){var n=new i(function(t){t(1)}),r=function(t){t(function(){},function(){})};if((n.constructor={})[p]=r,!(m=n.then(function(){})instanceof r))return!0}return!e&&(l||u)&&!g});t.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:m}},926:(t,e,n)=>{"use strict";var r=n(9306),i=n(8981),o=n(7055),a=n(6198),s=TypeError,c=function(t){return function(e,n,c,l){var u=i(e),h=o(u),f=a(u);r(n);var d=t?f-1:0,p=t?-1:1;if(c<2)for(;;){if(d in h){l=h[d],d+=p;break}if(d+=p,t?d<0:f<=d)throw new s("Reduce of empty array with no initial value")}for(;t?d>=0:f>d;d+=p)d in h&&(l=n(l,h[d],d,u));return l}};t.exports={left:c(!1),right:c(!0)}},958:(t,e,n)=>{"use strict";n(5240)},1034:(t,e,n)=>{"use strict";var r=n(9565),i=n(9297),o=n(1625),a=n(7979),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},1051:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(3517),a=n(4659),s=Array;r({target:"Array",stat:!0,forced:i(function(){function t(){}return!(s.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,n=new(o(this)?this:s)(e);e>t;)a(n,t,arguments[t++]);return n.length=e,n}})},1056:(t,e,n)=>{"use strict";var r=n(4913).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},1072:(t,e,n)=>{"use strict";var r=n(1828),i=n(8727);t.exports=Object.keys||function(t){return r(t,i)}},1073:(t,e,n)=>{"use strict";n(511)("split")},1088:(t,e,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(6395),a=n(350),s=n(4901),c=n(3994),l=n(2787),u=n(2967),h=n(687),f=n(6699),d=n(6840),p=n(8227),m=n(6269),g=n(7657),v=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),w="keys",S="values",E="entries",k=function(){return this};t.exports=function(t,e,n,a,p,g,C){c(n,e,a);var O,A,T,L=function(t){if(t===p&&I)return I;if(!_&&t&&t in j)return j[t];switch(t){case w:case S:case E:return function(){return new n(this,t)}}return function(){return new n(this)}},P=e+" Iterator",M=!1,j=t.prototype,D=j[x]||j["@@iterator"]||p&&j[p],I=!_&&D||L(p),R="Array"===e&&j.entries||D;if(R&&(O=l(R.call(new t)))!==Object.prototype&&O.next&&(o||l(O)===b||(u?u(O,b):s(O[x])||d(O,x,k)),h(O,P,!0,!0),o&&(m[P]=k)),v&&p===S&&D&&D.name!==S&&(!o&&y?f(j,"name",S):(M=!0,I=function(){return i(D,this)})),p)if(A={values:L(S),keys:g?I:L(w),entries:L(E)},C)for(T in A)(_||M||!(T in j))&&d(j,T,A[T]);else r({target:e,proto:!0,forced:_||M},A);return o&&!C||j[x]===I||d(j,x,I,{name:p}),m[e]=I,A}},1103:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},1181:(t,e,n)=>{"use strict";var r,i,o,a=n(8622),s=n(4475),c=n(34),l=n(6699),u=n(9297),h=n(7629),f=n(6119),d=n(421),p="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||h.state){var v=h.state||(h.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(t,e){if(v.has(t))throw new m(p);return e.facade=t,v.set(t,e),e},i=function(t){return v.get(t)||{}},o=function(t){return v.has(t)}}else{var y=f("state");d[y]=!0,r=function(t,e){if(u(t,y))throw new m(p);return e.facade=t,l(t,y,e),e},i=function(t){return u(t,y)?t[y]:{}},o=function(t){return u(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return n}}}},1240:(t,e,n)=>{"use strict";var r=n(9504);t.exports=r(1..valueOf)},1278:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(5031),a=n(5397),s=n(7347),c=n(4659);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),i=s.f,l=o(r),u={},h=0;l.length>h;)void 0!==(n=i(r,e=l[h++]))&&c(u,e,n);return u}})},1291:(t,e,n)=>{"use strict";var r=n(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},1296:(t,e,n)=>{"use strict";var r=n(4495);t.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1392:(t,e,n)=>{"use strict";var r,i=n(6518),o=n(7476),a=n(7347).f,s=n(8014),c=n(655),l=n(5749),u=n(7750),h=n(1436),f=n(6395),d=o("".slice),p=Math.min,m=h("startsWith");
2i({target:"String",proto:!0,forced:!(!f&&!m&&(r=a(String.prototype,"startsWith"),r&&!r.writable)||m)},{startsWith:function(t){var e=c(u(this));l(t);var n=s(p(arguments.length>1?arguments[1]:void 0,e.length)),r=c(t);return d(e,n,n+r.length)===r}})},1415:(t,e,n)=>{"use strict";n(2405)},1436:(t,e,n)=>{"use strict";var r=n(8227)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},1469:(t,e,n)=>{"use strict";var r=n(7433);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},1480:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(298).f;r({target:"Object",stat:!0,forced:i(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:o})},1481:(t,e,n)=>{"use strict";var r=n(6518),i=n(6043);r({target:"Promise",stat:!0,forced:n(916).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},1510:(t,e,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(9297),a=n(655),s=n(5745),c=n(1296),l=s("string-to-symbol-registry"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=a(t);if(o(l,e))return l[e];var n=i("Symbol")(e);return l[e]=n,u[n]=e,n}})},1558:(t,e,n)=>{"use strict";var r=n(6518),i=n(9928),o=n(5397),a=Array;r({target:"Array",proto:!0},{with:function(t,e){return i(o(this),a,t,e)}})},1625:(t,e,n)=>{"use strict";var r=n(9504);t.exports=r({}.isPrototypeOf)},1629:(t,e,n)=>{"use strict";var r=n(6518),i=n(235);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},1658:(t,e,n)=>{"use strict";var r=n(6518),i=n(6469),o=n(6837),a=n(6198),s=n(5610),c=n(5397),l=n(1291),u=Array,h=Math.max,f=Math.min;r({target:"Array",proto:!0},{toSpliced:function(t,e){var n,r,i,d,p=c(this),m=a(p),g=s(t,m),v=arguments.length,y=0;for(0===v?n=r=0:1===v?(n=0,r=m-g):(n=v-2,r=f(h(l(e),0),m-g)),i=o(m+n-r),d=u(i);y<g;y++)d[y]=p[y];for(;y<g+n;y++)d[y]=arguments[y-g+2];for(;y<i;y++)d[y]=p[y+r-n];return d}}),i("toSpliced")},1699:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(5749),a=n(7750),s=n(655),c=n(1436),l=i("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},1743:(t,e,n)=>{"use strict";var r=n(9039),i=n(34),o=n(4576),a=n(5652),s=Object.isExtensible,c=r(function(){s(1)});t.exports=c||a?function(t){return!!i(t)&&(!a||"ArrayBuffer"!==o(t))&&(!s||s(t))}:s},1761:(t,e,n)=>{"use strict";var r=n(9565),i=n(9228),o=n(8551),a=n(4117),s=n(8014),c=n(655),l=n(7750),u=n(5966),h=n(7829),f=n(6682);i("match",function(t,e,n){return[function(e){var n=l(this),i=a(e)?void 0:u(e,t);return i?r(i,e,n):new RegExp(e)[t](c(n))},function(t){var r=o(this),i=c(t),a=n(e,r,i);if(a.done)return a.value;if(!r.global)return f(r,i);var l=r.unicode;r.lastIndex=0;for(var u,d=[],p=0;null!==(u=f(r,i));){var m=c(u[0]);d[p]=m,""===m&&(r.lastIndex=h(i,s(r.lastIndex),l)),p++}return 0===p?null:d}]})},1828:(t,e,n)=>{"use strict";var r=n(9504),i=n(9297),o=n(5397),a=n(9617).indexOf,s=n(421),c=r([].push);t.exports=function(t,e){var n,r=o(t),l=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&c(u,n);for(;e.length>l;)i(r,n=e[l++])&&(~a(u,n)||c(u,n));return u}},1833:(t,e,n)=>{"use strict";n(511)("search")},1949:(t,e,n)=>{"use strict";n(3451);var r=n(7015);t.exports=r("Array","findLastIndex")},1951:(t,e,n)=>{"use strict";var r=n(8227);e.f=r},1955:(t,e,n)=>{"use strict";var r,i,o,a,s,c=n(4475),l=n(3389),u=n(6080),h=n(9225).set,f=n(8265),d=n(8119),p=n(28),m=n(6765),g=n(9088),v=c.MutationObserver||c.WebKitMutationObserver,y=c.document,b=c.process,_=c.Promise,x=l("queueMicrotask");if(!x){var w=new f,S=function(){var t,e;for(g&&(t=b.domain)&&t.exit();e=w.get();)try{e()}catch(t){throw w.head&&r(),t}t&&t.enter()};d||g||m||!v||!y?!p&&_&&_.resolve?((a=_.resolve(void 0)).constructor=_,s=u(a.then,a),r=function(){s(S)}):g?r=function(){b.nextTick(S)}:(h=u(h,c),r=function(){h(S)}):(i=!0,o=y.createTextNode(""),new v(S).observe(o,{characterData:!0}),r=function(){o.data=i=!i}),x=function(t){w.head||r(),w.add(t)}}t.exports=x},2003:(t,e,n)=>{"use strict";var r=n(6518),i=n(6395),o=n(916).CONSTRUCTOR,a=n(550),s=n(7751),c=n(4901),l=n(6840),u=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&c(a)){var h=s("Promise").prototype.catch;u.catch!==h&&l(u,"catch",h,{unsafe:!0})}},2008:(t,e,n)=>{"use strict";var r=n(6518),i=n(9213).filter;r({target:"Array",proto:!0,forced:!n(597)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},2010:(t,e,n)=>{"use strict";var r=n(3724),i=n(350).EXISTS,o=n(9504),a=n(2106),s=Function.prototype,c=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=o(l.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return u(l,c(this))[1]}catch(t){return""}}})},2041:(t,e,n)=>{"use strict";n(9978)},2062:(t,e,n)=>{"use strict";var r=n(6518),i=n(9213).map;r({target:"Array",proto:!0,forced:!n(597)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},2106:(t,e,n)=>{"use strict";var r=n(283),i=n(4913);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},2140:(t,e,n)=>{"use strict";var r={};r[n(8227)("toStringTag")]="z",t.exports="[object z]"===String(r)},2168:(t,e,n)=>{"use strict";n(511)("isConcatSpreadable")},2211:(t,e,n)=>{"use strict";var r=n(9039);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2222:(t,e,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(9039),a=n(431),s=n(655),c=n(7416),l=i("URL");r({target:"URL",stat:!0,forced:!(c&&o(function(){l.canParse()}))},{canParse:function(t){var e=a(arguments.length,1),n=s(t),r=e<2||void 0===arguments[1]?void 0:s(arguments[1]);try{return!!new l(n,r)}catch(t){return!1}}})},2259:(t,e,n)=>{"use strict";n(511)("iterator")},2293:(t,e,n)=>{"use strict";var r=n(8551),i=n(5548),o=n(4117),a=n(8227)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||o(n=r(s)[a])?e:i(n)}},2333:(t,e,n)=>{"use strict";var r=n(1291),i=n(655),o=n(7750),a=RangeError;t.exports=function(t){var e=i(o(this)),n="",s=r(t);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(n+=e);return n}},2357:(t,e,n)=>{"use strict";var r=n(3724),i=n(9039),o=n(9504),a=n(2787),s=n(1072),c=n(5397),l=o(n(8773).f),u=o([].push),h=r&&i(function(){var t=Object.create(null);return t[2]=2,!l(t,2)}),f=function(t){return function(e){for(var n,i=c(e),o=s(i),f=h&&null===a(i),d=o.length,p=0,m=[];d>p;)n=o[p++],r&&!(f?n in i:l(i,n))||u(m,t?[n,i[n]]:i[n]);return m}};t.exports={entries:f(!0),values:f(!1)}},2360:(t,e,n)=>{"use strict";var r,i=n(8551),o=n(6801),a=n(8727),s=n(421),c=n(397),l=n(4055),u=n(6119),h="prototype",f="script",d=u("IE_PROTO"),p=function(){},m=function(t){return"<"+f+">"+t+"</"+f+">"},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;v="undefined"!=typeof document?document.domain&&r?g(r):(e=l("iframe"),n="java"+f+":",e.style.display="none",c.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):g(r);for(var i=a.length;i--;)delete v[h][a[i]];return v()};
2s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[h]=i(t),n=new p,p[h]=null,n[d]=t):n=v(),void 0===e?n:o.f(n,e)}},2405:(t,e,n)=>{"use strict";n(6468)("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},n(6938))},2478:(t,e,n)=>{"use strict";var r=n(9504),i=n(8981),o=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,h,f){var d=n+t.length,p=r.length,m=u;return void 0!==h&&(h=i(h),m=l),s(f,m,function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,d);case"<":l=h[c(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>p){var f=o(u/10);return 0===f?i:f<=p?void 0===r[f-1]?a(s,1):r[f-1]+a(s,1):i}l=r[u-1]}return void 0===l?"":l})}},2529:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},2551:(t,e,n)=>{"use strict";var r=n(6395),i=n(4475),o=n(9039),a=n(9160);t.exports=r||!o(function(){if(!(a&&a<535)){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete i[t]}})},2603:(t,e,n)=>{"use strict";var r=n(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},2652:(t,e,n)=>{"use strict";var r=n(6080),i=n(9565),o=n(8551),a=n(6823),s=n(4209),c=n(6198),l=n(1625),u=n(81),h=n(851),f=n(9539),d=TypeError,p=function(t,e){this.stopped=t,this.result=e},m=p.prototype;t.exports=function(t,e,n){var g,v,y,b,_,x,w,S=n&&n.that,E=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),A=r(e,S),T=function(t){return g&&f(g,"normal",t),new p(!0,t)},L=function(t){return E?(o(t),O?A(t[0],t[1],T):A(t[0],t[1])):O?A(t,T):A(t)};if(k)g=t.iterator;else if(C)g=t;else{if(!(v=h(t)))throw new d(a(t)+" is not iterable");if(s(v)){for(y=0,b=c(t);b>y;y++)if((_=L(t[y]))&&l(m,_))return _;return new p(!1)}g=u(t,v)}for(x=k?t.next:g.next;!(w=i(x,g)).done;){try{_=L(w.value)}catch(t){f(g,"throw",t)}if("object"==typeof _&&_&&l(m,_))return _}return new p(!1)}},2675:(t,e,n)=>{"use strict";n(6761),n(1510),n(7812),n(3110),n(9773)},2703:(t,e,n)=>{"use strict";var r=n(4475),i=n(9039),o=n(9504),a=n(655),s=n(3802).trim,c=n(5071),l=r.parseInt,u=r.Symbol,h=u&&u.iterator,f=/^[+-]?0x/i,d=o(f.exec),p=8!==l(c+"08")||22!==l(c+"0x16")||h&&!i(function(){l(Object(h))});t.exports=p?function(t,e){var n=s(a(t));return l(n,e>>>0||(d(f,n)?16:10))}:l},2712:(t,e,n)=>{"use strict";var r=n(6518),i=n(926).left,o=n(4598),a=n(7388);r({target:"Array",proto:!0,forced:!n(9088)&&a>79&&a<83||!o("reduce")},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},2744:(t,e,n)=>{"use strict";var r=n(9039);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},2762:(t,e,n)=>{"use strict";var r=n(6518),i=n(3802).trim;r({target:"String",proto:!0,forced:n(706)("trim")},{trim:function(){return i(this)}})},2777:(t,e,n)=>{"use strict";var r=n(9565),i=n(34),o=n(757),a=n(5966),s=n(4270),c=n(8227),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=a(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},2787:(t,e,n)=>{"use strict";var r=n(9297),i=n(4901),o=n(8981),a=n(6119),s=n(2211),c=a("IE_PROTO"),l=Object,u=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(r(e,c))return e[c];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof l?u:null}},2796:(t,e,n)=>{"use strict";var r=n(9039),i=n(4901),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n===u||n!==l&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},2811:(t,e,n)=>{"use strict";var r=n(6518),i=n(2744),o=n(9039),a=n(34),s=n(5832).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:o(function(){c(1)}),sham:!i},{freeze:function(t){return c&&a(t)?c(s(t)):t}})},2892:(t,e,n)=>{"use strict";var r=n(6518),i=n(6395),o=n(3724),a=n(4475),s=n(9167),c=n(9504),l=n(2796),u=n(9297),h=n(3167),f=n(1625),d=n(757),p=n(2777),m=n(9039),g=n(8480).f,v=n(7347).f,y=n(4913).f,b=n(1240),_=n(3802).trim,x="Number",w=a[x],S=s[x],E=w.prototype,k=a.TypeError,C=c("".slice),O=c("".charCodeAt),A=l(x,!w(" 0o1")||!w("0b1")||w("+0x1")),T=function(t){var e,n=arguments.length<1?0:w(function(t){var e=p(t,"number");return"bigint"==typeof e?e:function(t){var e,n,r,i,o,a,s,c,l=p(t,"number");if(d(l))throw new k("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=_(l),43===(e=O(l,0))||45===e){if(88===(n=O(l,2))||120===n)return NaN}else if(48===e){switch(O(l,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(o=C(l,2)).length,s=0;s<a;s++)if((c=O(o,s))<48||c>i)return NaN;return parseInt(o,r)}return+l}(e)}(t));return f(E,e=this)&&m(function(){b(e)})?h(Object(n),this,T):n};T.prototype=E,A&&!i&&(E.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:A},{Number:T});var L=function(t,e){for(var n,r=o?g(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)u(e,n=r[i])&&!u(t,n)&&y(t,n,v(e,n))};i&&S&&L(s[x],S),(A||i)&&L(s[x],w)},2912:t=>{self,t.exports=function(){"use strict";var t={8952:function(t,e,n){var r=n(4328),i=n(36),o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not a function")}},2096:function(t,e,n){var r=n(2424),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},4764:function(t,e,n){var r=n(9764).charAt;
vendor: 11,928 bytes, line 2
2t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},6100:function(t,e,n){var r=n(7e3),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new i("Incorrect invocation")}},3951:function(t,e,n){var r=n(1632),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not an object")}},2504:function(t,e,n){var r=n(4096),i=n(2495),o=n(3556),a=function(t){return function(e,n,a){var s=r(e),c=o(s);if(0===c)return!t&&-1;var l,u=i(a,c);if(t&&n!=n){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((t||u in s)&&s[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},3364:function(t,e,n){var r=n(8992),i=n(1664),o=n(5712),a=n(4356),s=n(3556),c=n(2568),l=i([].push),u=function(t){var e=1===t,n=2===t,i=3===t,u=4===t,h=6===t,f=7===t,d=5===t||h;return function(p,m,g,v){for(var y,b,_=a(p),x=o(_),w=s(x),S=r(m,g),E=0,k=v||c,C=e?k(p,w):n||f?k(p,0):void 0;w>E;E++)if((d||E in x)&&(b=S(y=x[E],E,_),t))if(e)C[E]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:l(C,y)}else switch(t){case 4:return!1;case 7:l(C,y)}return h?-1:i||u?u:C}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},953:function(t,e,n){var r=n(9957),i=n(9972),o=n(8504),a=i("species");t.exports=function(t){return o>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},1496:function(t,e,n){var r=n(9957);t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){return 1},1)})}},6728:function(t,e,n){var r=n(3476),i=n(1432),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},6736:function(t,e,n){var r=n(1432),i=n(6072),o=n(1632),a=n(9972)("species"),s=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(i(e)&&(e===s||r(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},2568:function(t,e,n){var r=n(6736);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},8696:function(t,e,n){var r=n(3951),i=n(3112);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},1888:function(t,e,n){var r=n(1664),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},4427:function(t,e,n){var r=n(16),i=n(4328),o=n(1888),a=n(9972)("toStringTag"),s=Object,c="Arguments"===o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:c?o(e):"Object"===(r=o(e))&&i(e.callee)?"Arguments":r}},9968:function(t,e,n){var r=n(5152),i=n(9252),o=n(9444),a=n(8352);t.exports=function(t,e,n){for(var s=i(e),c=a.f,l=o.f,u=0;u<s.length;u++){var h=s[u];r(t,h)||n&&r(n,h)||c(t,h,l(e,h))}}},2272:function(t,e,n){var r=n(9957);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},3336:function(t){t.exports=function(t,e){return{value:t,done:e}}},3440:function(t,e,n){var r=n(3476),i=n(8352),o=n(9728);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9728:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},92:function(t,e,n){var r=n(3476),i=n(8352),o=n(9728);t.exports=function(t,e,n){r?i.f(t,e,o(0,n)):t[e]=n}},2544:function(t,e,n){var r=n(5312),i=n(8352);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},6076:function(t,e,n){var r=n(4328),i=n(8352),o=n(5312),a=n(4636);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:e;if(r(n)&&o(n,l,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},4036:function(t,e,n){var r=n(6076);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},4636:function(t,e,n){var r=n(6420),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},3476:function(t,e,n){var r=n(9957);t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},8168:function(t,e,n){var r=n(6420),i=n(1632),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},4316:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},6064:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},8504:function(t,e,n){var r,i,o=n(6420),a=n(6064),s=o.process,c=o.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},8256:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6520:function(t,e,n){var r=n(1664),i=Error,o=r("".replace),a=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);t.exports=function(t,e){if(c&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=o(t,s,"");return t}},3696:function(t,e,n){var r=n(3440),i=n(6520),o=n(9184),a=Error.captureStackTrace;t.exports=function(t,e,n,s){o&&(a?a(t,e):r(t,"stack",i(n,s)))}},9184:function(t,e,n){var r=n(9957),i=n(9728);t.exports=!r(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)})},9160:function(t,e,n){var r=n(6420),i=n(9444).f,o=n(3440),a=n(6076),s=n(4636),c=n(9968),l=n(6704);t.exports=function(t,e){var n,u,h,f,d,p=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[p]||s(p,{}):r[p]&&r[p].prototype)for(u in e){if(f=e[u],h=t.dontCallGetSet?(d=i(n,u))&&d.value:n[u],!l(m?u:p+(g?".":"#")+u,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),a(n,u,f,t)}}},9957:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7176:function(t,e,n){n(880);var r=n(8448),i=n(6076),o=n(7680),a=n(9957),s=n(9972),c=n(3440),l=s("species"),u=RegExp.prototype;t.exports=function(t,e,n,h){var f=s(t),d=!a(function(){var e={};return e[f]=function(){return 7},7!==""[t](e)}),p=d&&!a(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e});if(!d||!p||n){var m=/./[f],g=e(f,""[t],function(t,e,n,i,a){var s=e.exec;return s===o||s===u.exec?d&&!a?{done:!0,value:r(m,e,n,i)}:{done:!0,value:r(t,n,e,i)}:{done:!1}});i(String.prototype,t,g[0]),i(u,f,g[1])}h&&c(u[f],"sham",!0)}},908:function(t,e,n){var r=n(7332),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},8992:function(t,e,n){var r=n(3180),i=n(8952),o=n(7332),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},7332:function(t,e,n){var r=n(9957);t.exports=!r(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},8448:function(t,e,n){var r=n(7332),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6208:function(t,e,n){var r=n(3476),i=n(5152),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},5288:function(t,e,n){var r=n(1664),i=n(8952);t.exports=function(t,e,n){try{return r(i(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},3180:function(t,e,n){var r=n(1888),i=n(1664);t.exports=function(t){if("Function"===r(t))return i(t)}},1664:function(t,e,n){var r=n(7332),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(t){return function(){return o.apply(t,arguments)}}},5232:function(t,e,n){var r=n(6420),i=n(4328);t.exports=function(t,e){return arguments.length<2?(n=r[t],i(n)?n:void 0):r[t]&&r[t][e];var n}},6752:function(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},4504:function(t,e,n){var r=n(8952),i=n(9760);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},6420:function(t,e,n){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5152:function(t,e,n){var r=n(1664),i=n(4356),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},2560:function(t){t.exports={}},4168:function(t,e,n){var r=n(5232);t.exports=r("document","documentElement")},9888:function(t,e,n){var r=n(3476),i=n(9957),o=n(8168);t.exports=!r&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},5712:function(t,e,n){var r=n(1664),i=n(9957),o=n(1888),a=Object,s=r("".split);t.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===o(t)?s(t,""):a(t)}:a},7512:function(t,e,n){var r=n(4328),i=n(1632),o=n(4024);t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},9112:function(t,e,n){var r=n(1664),i=n(4328),o=n(3976),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},3480:function(t,e,n){var r=n(1632),i=n(3440);t.exports=function(t,e){r(e)&&"cause"in e&&i(t,"cause",e.cause)}},9104:function(t,e,n){var r,i,o,a=n(4288),s=n(6420),c=n(1632),l=n(3440),u=n(5152),h=n(3976),f=n(6504),d=n(2560),p="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||h.state){var v=h.state||(h.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(t,e){if(v.has(t))throw new m(p);return e.facade=t,v.set(t,e),e},i=function(t){return v.get(t)||{}},o=function(t){return v.has(t)}}else{var y=f("state");d[y]=!0,r=function(t,e){if(u(t,y))throw new m(p);return e.facade=t,l(t,y,e),e},i=function(t){return u(t,y)?t[y]:{}},o=function(t){return u(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return n}}}},1432:function(t,e,n){var r=n(1888);t.exports=Array.isArray||function(t){return"Array"===r(t)}},4328:function(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},6072:function(t,e,n){var r=n(1664),i=n(9957),o=n(4328),a=n(4427),s=n(5232),c=n(9112),l=function(){},u=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=r(h.exec),d=!h.test(l),p=function(t){if(!o(t))return!1;try{return u(l,[],t),!0}catch(t){return!1}},m=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(h,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!u||i(function(){var t;return p(p.call)||!p(Object)||!p(function(){t=!0})||t})?m:p},6704:function(t,e,n){var r=n(9957),i=n(4328),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n===u||n!==l&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},9760:function(t){t.exports=function(t){return null==t}},1632:function(t,e,n){var r=n(4328);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}
2},2424:function(t,e,n){var r=n(1632);t.exports=function(t){return r(t)||null===t}},7048:function(t){t.exports=!1},7728:function(t,e,n){var r=n(5232),i=n(4328),o=n(7e3),a=n(6536),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},3112:function(t,e,n){var r=n(8448),i=n(3951),o=n(4504);t.exports=function(t,e,n){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw n;if(s)throw a;return i(a),n}},9724:function(t,e,n){var r=n(8448),i=n(9368),o=n(3440),a=n(4036),s=n(9972),c=n(9104),l=n(4504),u=n(336).IteratorPrototype,h=n(3336),f=n(3112),d=s("toStringTag"),p="IteratorHelper",m="WrapForValidIterator",g=c.set,v=function(t){var e=c.getterFor(t?m:p);return a(i(u),{next:function(){var n=e(this);if(t)return n.nextHandler();try{var r=n.done?void 0:n.nextHandler();return h(r,n.done)}catch(t){throw n.done=!0,t}},return:function(){var n=e(this),i=n.iterator;if(n.done=!0,t){var o=l(i,"return");return o?r(o,i):h(void 0,!0)}if(n.inner)try{f(n.inner.iterator,"normal")}catch(t){return f(i,"throw",t)}return f(i,"normal"),h(void 0,!0)}})},y=v(!0),b=v(!1);o(b,d,"Iterator Helper"),t.exports=function(t,e){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=e?m:p,r.nextHandler=t,r.counter=0,r.done=!1,g(this,r)};return n.prototype=e?y:b,n}},5792:function(t,e,n){var r=n(8448),i=n(8952),o=n(3951),a=n(6752),s=n(9724),c=n(8696),l=s(function(){var t=this.iterator,e=o(r(this.next,t));if(!(this.done=!!e.done))return c(t,this.mapper,[e.value,this.counter++],!0)});t.exports=function(t){return o(this),i(t),new l(a(this),{mapper:t})}},336:function(t,e,n){var r,i,o,a=n(9957),s=n(4328),c=n(1632),l=n(9368),u=n(7796),h=n(6076),f=n(9972),d=n(7048),p=f("iterator"),m=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(r=i):m=!0),!c(r)||a(function(){var t={};return r[p].call(t)!==t})?r={}:d&&(r=l(r)),s(r[p])||h(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},3556:function(t,e,n){var r=n(7584);t.exports=function(t){return r(t.length)}},5312:function(t,e,n){var r=n(1664),i=n(9957),o=n(4328),a=n(5152),s=n(3476),c=n(6208).CONFIGURABLE,l=n(9112),u=n(9104),h=u.enforce,f=u.get,d=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),b=String(String).split("String"),_=t.exports=function(t,e,n){"Symbol("===m(d(e),0,7)&&(e="["+g(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||c&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&a(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=h(t);return a(r,"source")||(r.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=_(function(){return o(this)&&f(this).source||l(this)},"toString")},1748:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},8948:function(t,e,n){var r=n(5016);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},9292:function(t,e,n){var r=n(3476),i=n(1664),o=n(8448),a=n(9957),s=n(1531),c=n(9392),l=n(8912),u=n(4356),h=n(5712),f=Object.assign,d=Object.defineProperty,p=i([].concat);t.exports=!f||a(function(){if(r&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!==f({},t)[n]||s(f({},e)).join("")!==i})?function(t,e){for(var n=u(t),i=arguments.length,a=1,f=c.f,d=l.f;i>a;)for(var m,g=h(arguments[a++]),v=f?p(s(g),f(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],r&&!o(d,g,m)||(n[m]=g[m]);return n}:f},9368:function(t,e,n){var r,i=n(3951),o=n(2056),a=n(8256),s=n(2560),c=n(4168),l=n(8168),u=n(6504),h="prototype",f="script",d=u("IE_PROTO"),p=function(){},m=function(t){return"<"+f+">"+t+"</"+f+">"},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;v="undefined"!=typeof document?document.domain&&r?g(r):(e=l("iframe"),n="java"+f+":",e.style.display="none",c.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):g(r);for(var i=a.length;i--;)delete v[h][a[i]];return v()};
vendor: 9,912 bytes, line 2
2s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[h]=i(t),n=new p,p[h]=null,n[d]=t):n=v(),void 0===e?n:o.f(n,e)}},2056:function(t,e,n){var r=n(3476),i=n(1576),o=n(8352),a=n(3951),s=n(4096),c=n(1531);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=c(e),l=i.length,u=0;l>u;)o.f(t,n=i[u++],r[n]);return t}},8352:function(t,e,n){var r=n(3476),i=n(9888),o=n(1576),a=n(3951),s=n(88),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=u(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:h in n?n[h]:r[h],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},9444:function(t,e,n){var r=n(3476),i=n(8448),o=n(8912),a=n(9728),s=n(4096),c=n(88),l=n(5152),u=n(9888),h=Object.getOwnPropertyDescriptor;e.f=r?h:function(t,e){if(t=s(t),e=c(e),u)try{return h(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},5048:function(t,e,n){var r=n(9008),i=n(8256).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},9392:function(t,e){e.f=Object.getOwnPropertySymbols},7796:function(t,e,n){var r=n(5152),i=n(4328),o=n(4356),a=n(6504),s=n(2272),c=a("IE_PROTO"),l=Object,u=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(r(e,c))return e[c];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof l?u:null}},7e3:function(t,e,n){var r=n(1664);t.exports=r({}.isPrototypeOf)},9008:function(t,e,n){var r=n(1664),i=n(5152),o=n(4096),a=n(2504).indexOf,s=n(2560),c=r([].push);t.exports=function(t,e){var n,r=o(t),l=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&c(u,n);for(;e.length>l;)i(r,n=e[l++])&&(~a(u,n)||c(u,n));return u}},1531:function(t,e,n){var r=n(9008),i=n(8256);t.exports=Object.keys||function(t){return r(t,i)}},8912:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},4024:function(t,e,n){var r=n(5288),i=n(3951),o=n(2096);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},7032:function(t,e,n){var r=n(16),i=n(4427);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},2104:function(t,e,n){var r=n(8448),i=n(4328),o=n(1632),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw new a("Can't convert object to primitive value")}},9252:function(t,e,n){var r=n(5232),i=n(1664),o=n(5048),a=n(9392),s=n(3951),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},584:function(t,e,n){var r=n(8352).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},9092:function(t,e,n){var r=n(8448),i=n(3951),o=n(4328),a=n(1888),s=n(7680),c=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var l=r(n,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return r(s,t,e);throw new c("RegExp#exec called on incompatible receiver")}},7680:function(t,e,n){var r,i,o=n(8448),a=n(1664),s=n(5016),c=n(8872),l=n(3548),u=n(4696),h=n(9368),f=n(9104).get,d=n(8e3),p=n(9124),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=a("".charAt),b=a("".indexOf),_=a("".replace),x=a("".slice),w=(i=/b*/g,o(g,r=/a/,"a"),o(g,i,"a"),0!==r.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(w||E||S||d||p)&&(v=function(t){var e,n,r,i,a,l,u,d=this,p=f(d),k=s(t),C=p.raw;if(C)return C.lastIndex=d.lastIndex,e=o(v,C,k),d.lastIndex=C.lastIndex,e;var O=p.groups,A=S&&d.sticky,T=o(c,d),L=d.source,P=0,M=k;if(A&&(T=_(T,"y",""),-1===b(T,"g")&&(T+="g"),M=x(k,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==y(k,d.lastIndex-1))&&(L="(?: "+L+")",M=" "+M,P++),n=new RegExp("^(?:"+L+")",T)),E&&(n=new RegExp("^"+L+"$(?!\\s)",T)),w&&(r=d.lastIndex),i=o(g,A?n:d,M),A?i?(i.input=x(i.input,P),i[0]=x(i[0],P),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),E&&i&&i.length>1&&o(m,i[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i&&O)for(i.groups=l=h(null),a=0;a<O.length;a++)l[(u=O[a])[0]]=i[u[1]];return i}),t.exports=v},8872:function(t,e,n){var r=n(3951);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},3548:function(t,e,n){var r=n(9957),i=n(6420).RegExp,o=r(function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),a=o||r(function(){return!i("a","y").sticky}),s=o||r(function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")});t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},8e3:function(t,e,n){var r=n(9957),i=n(6420).RegExp;t.exports=r(function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})},9124:function(t,e,n){var r=n(9957),i=n(6420).RegExp;t.exports=r(function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})},5436:function(t,e,n){var r=n(9760),i=TypeError;t.exports=function(t){if(r(t))throw new i("Can't call method on "+t);return t}},6504:function(t,e,n){var r=n(4696),i=n(7776),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},3976:function(t,e,n){var r=n(7048),i=n(6420),o=n(4636),a="__core-js_shared__",s=t.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.36.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4696:function(t,e,n){var r=n(3976);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},9764:function(t,e,n){var r=n(1664),i=n(6180),o=n(5016),a=n(5436),s=r("".charAt),c=r("".charCodeAt),l=r("".slice),u=function(t){return function(e,n){var r,u,h=o(a(e)),f=i(n),d=h.length;return f<0||f>=d?t?"":void 0:(r=c(h,f))<55296||r>56319||f+1===d||(u=c(h,f+1))<56320||u>57343?t?s(h,f):r:t?l(h,f,f+2):u-56320+(r-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},772:function(t,e,n){var r=n(8504),i=n(9957),o=n(6420).String;t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},2495:function(t,e,n){var r=n(6180),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},4096:function(t,e,n){var r=n(5712),i=n(5436);t.exports=function(t){return r(i(t))}},6180:function(t,e,n){var r=n(1748);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},7584:function(t,e,n){var r=n(6180),i=Math.min;t.exports=function(t){var e=r(t);return e>0?i(e,9007199254740991):0}},4356:function(t,e,n){var r=n(5436),i=Object;t.exports=function(t){return i(r(t))}},7024:function(t,e,n){var r=n(8448),i=n(1632),o=n(7728),a=n(4504),s=n(2104),c=n(9972),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=a(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},88:function(t,e,n){var r=n(7024),i=n(7728);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},16:function(t,e,n){var r={};r[n(9972)("toStringTag")]="z",t.exports="[object z]"===String(r)},5016:function(t,e,n){var r=n(4427),i=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},36:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},7776:function(t,e,n){var r=n(1664),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},6536:function(t,e,n){var r=n(772);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1576:function(t,e,n){var r=n(3476),i=n(9957);t.exports=r&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},4288:function(t,e,n){var r=n(6420),i=n(4328),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},9972:function(t,e,n){var r=n(6420),i=n(4696),o=n(5152),a=n(7776),s=n(772),c=n(6536),l=r.Symbol,u=i("wks"),h=c?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(u,t)||(u[t]=s&&o(l,t)?l[t]:h("Symbol."+t)),u[t]}},6488:function(t,e,n){var r=n(5232),i=n(5152),o=n(3440),a=n(7e3),s=n(4024),c=n(9968),l=n(584),u=n(7512),h=n(8948),f=n(3480),d=n(3696),p=n(3476),m=n(7048);t.exports=function(t,e,n,g){var v="stackTraceLimit",y=g?2:1,b=t.split("."),_=b[b.length-1],x=r.apply(null,b);if(x){var w=x.prototype;if(!m&&i(w,"cause")&&delete w.cause,!n)return x;var S=r("Error"),E=e(function(t,e){var n=h(g?e:t,void 0),r=g?new x(t):new x;return void 0!==n&&o(r,"message",n),d(r,E,r.stack,2),this&&a(w,this)&&u(r,this,E),arguments.length>y&&f(r,arguments[y]),r});if(E.prototype=w,"Error"!==_?s?s(E,S):c(E,S,{name:!0}):p&&v in x&&(l(E,x,v),l(E,x,"prepareStackTrace")),c(E,x),!m)try{w.name!==_&&o(w,"name",_),w.constructor=E}catch(t){}return E}}},7476:function(t,e,n){var r=n(9160),i=n(9957),o=n(1432),a=n(1632),s=n(4356),c=n(3556),l=n(4316),u=n(92),h=n(2568),f=n(953),d=n(9972),p=n(8504),m=d("isConcatSpreadable"),g=p>=51||!i(function(){var t=[];return t[m]=!1,t.concat()[0]!==t}),v=function(t){if(!a(t))return!1;var e=t[m];
2return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,arity:1,forced:!g||!f("concat")},{concat:function(t){var e,n,r,i,o,a=s(this),f=h(a,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(v(o=-1===e?a:arguments[e]))for(i=c(o),l(d+i),n=0;n<i;n++,d++)n in o&&u(f,d,o[n]);else l(d+1),u(f,d++,o);return f.length=d,f}})},6932:function(t,e,n){var r=n(9160),i=n(3364).filter;r({target:"Array",proto:!0,forced:!n(953)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},700:function(t,e,n){var r=n(9160),i=n(1664),o=n(5712),a=n(4096),s=n(1496),c=i([].join);r({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return c(a(this),void 0===t?",":t)}})},4456:function(t,e,n){var r=n(9160),i=n(3364).map;r({target:"Array",proto:!0,forced:!n(953)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},4728:function(t,e,n){var r=n(9160),i=n(4356),o=n(3556),a=n(6728),s=n(4316);r({target:"Array",proto:!0,arity:1,forced:n(9957)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=i(this),n=o(e),r=arguments.length;s(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return a(e,n),n}})},8752:function(t,e,n){var r=n(9160),i=n(6420),o=n(908),a=n(6488),s="WebAssembly",c=i[s],l=7!==new Error("e",{cause:7}).cause,u=function(t,e){var n={};n[t]=a(t,e,l),r({global:!0,constructor:!0,arity:1,forced:l},n)},h=function(t,e){if(c&&c[t]){var n={};n[t]=a(s+"."+t,e,l),r({target:s,stat:!0,constructor:!0,arity:1,forced:l},n)}};u("Error",function(t){return function(e){return o(t,this,arguments)}}),u("EvalError",function(t){return function(e){return o(t,this,arguments)}}),u("RangeError",function(t){return function(e){return o(t,this,arguments)}}),u("ReferenceError",function(t){return function(e){return o(t,this,arguments)}}),u("SyntaxError",function(t){return function(e){return o(t,this,arguments)}}),u("TypeError",function(t){return function(e){return o(t,this,arguments)}}),u("URIError",function(t){return function(e){return o(t,this,arguments)}}),h("CompileError",function(t){return function(e){return o(t,this,arguments)}}),h("LinkError",function(t){return function(e){return o(t,this,arguments)}}),h("RuntimeError",function(t){return function(e){return o(t,this,arguments)}})},508:function(t,e,n){var r=n(3476),i=n(6208).EXISTS,o=n(1664),a=n(2544),s=Function.prototype,c=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=o(l.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return u(l,c(this))[1]}catch(t){return""}}})},232:function(t,e,n){var r=n(9160),i=n(9292);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},5443:function(t,e,n){var r=n(16),i=n(6076),o=n(7032);r||i(Object.prototype,"toString",o,{unsafe:!0})},880:function(t,e,n){var r=n(9160),i=n(7680);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9836:function(t,e,n){var r=n(8448),i=n(7176),o=n(3951),a=n(9760),s=n(7584),c=n(5016),l=n(5436),u=n(4504),h=n(4764),f=n(9092);i("match",function(t,e,n){return[function(e){var n=l(this),i=a(e)?void 0:u(e,t);return i?r(i,e,n):new RegExp(e)[t](c(n))},function(t){var r=o(this),i=c(t),a=n(e,r,i);if(a.done)return a.value;if(!r.global)return f(r,i);var l=r.unicode;r.lastIndex=0;for(var u,d=[],p=0;null!==(u=f(r,i));){var m=c(u[0]);d[p]=m,""===m&&(r.lastIndex=h(i,s(r.lastIndex),l)),p++}return 0===p?null:d}]})},3536:function(t,e,n){var r=n(9160),i=n(6420),o=n(6100),a=n(3951),s=n(4328),c=n(7796),l=n(2544),u=n(92),h=n(9957),f=n(5152),d=n(9972),p=n(336).IteratorPrototype,m=n(3476),g=n(7048),v="constructor",y="Iterator",b=d("toStringTag"),_=TypeError,x=i[y],w=g||!s(x)||x.prototype!==p||!h(function(){x({})}),S=function(){if(o(this,p),c(this)===p)throw new _("Abstract class Iterator not directly constructable")},E=function(t,e){m?l(p,t,{configurable:!0,get:function(){return e},set:function(e){if(a(this),this===p)throw new _("You can't redefine this property");f(this,t)?this[t]=e:u(this,t,e)}}):p[t]=e};f(p,b)||E(b,y),!w&&f(p,v)&&p[v]!==Object||E(v,S),S.prototype=p,r({global:!0,constructor:!0,forced:w},{Iterator:S})},2144:function(t,e,n){var r=n(9160),i=n(8448),o=n(8952),a=n(3951),s=n(6752),c=n(9724),l=n(8696),u=n(7048),h=c(function(){for(var t,e,n=this.iterator,r=this.predicate,o=this.next;;){if(t=a(i(o,n)),this.done=!!t.done)return;if(e=t.value,l(n,r,[e,this.counter++],!0))return e}});r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(t){return a(this),o(t),new h(s(this),{predicate:t})}})},9080:function(t,e,n){var r=n(9160),i=n(5792);r({target:"Iterator",proto:!0,real:!0,forced:n(7048)},{map:i})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}
vendor: 8,577 bytes, line 2
2}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var r={};return function(){n.d(r,{default:function(){return G}}),n(8752),n(6932),n(4456),n(508),n(232),n(5443),n(3536),n(2144),n(9080);var t=function(){},e={},i=[],o=[];function a(n,r){var a,s,c,l,u=o;for(l=arguments.length;l-- >2;)i.push(arguments[l]);for(r&&null!=r.children&&(i.length||i.push(r.children),delete r.children);i.length;)if((s=i.pop())&&void 0!==s.pop)for(l=s.length;l--;)i.push(s[l]);else"boolean"==typeof s&&(s=null),(c="function"!=typeof n)&&(null==s?s="":"number"==typeof s?s=String(s):"string"!=typeof s&&(c=!1)),c&&a?u[u.length-1]+=s:u===o?u=[s]:u.push(s),a=c;var h=new t;return h.nodeName=n,h.children=u,h.attributes=null==r?void 0:r,h.key=null==r?void 0:r.key,void 0!==e.vnode&&e.vnode(h),h}function s(t,e){for(var n in e)t[n]=e[n];return t}function c(t,e){t&&("function"==typeof t?t(e):t.current=e)}var l="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,u=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,h=[];function f(t){!t._dirty&&(t._dirty=!0)&&1==h.push(t)&&(e.debounceRendering||l)(d)}function d(){for(var t;t=h.pop();)t._dirty&&j(t)}function p(t,e,n){return"string"==typeof e||"number"==typeof e?void 0!==t.splitText:"string"==typeof e.nodeName?!t._componentConstructor&&m(t,e.nodeName):n||t._componentConstructor===e.nodeName}function m(t,e){return t.normalizedNodeName===e||t.nodeName.toLowerCase()===e.toLowerCase()}function g(t){var e=s({},t.attributes);e.children=t.children;var n=t.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===e[r]&&(e[r]=n[r]);return e}function v(t){var e=t.parentNode;e&&e.removeChild(t)}function y(t,e,n,r,i){if("className"===e&&(e="class"),"key"===e);else if("ref"===e)c(n,null),c(r,t);else if("class"!==e||i)if("style"===e){if(r&&"string"!=typeof r&&"string"!=typeof n||(t.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var o in n)o in r||(t.style[o]="");for(var o in r)t.style[o]="number"==typeof r[o]&&!1===u.test(o)?r[o]+"px":r[o]}}else if("dangerouslySetInnerHTML"===e)r&&(t.innerHTML=r.__html||"");else if("o"==e[0]&&"n"==e[1]){var a=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),r?n||t.addEventListener(e,b,a):t.removeEventListener(e,b,a),(t._listeners||(t._listeners={}))[e]=r}else if("list"!==e&&"type"!==e&&!i&&e in t){try{t[e]=null==r?"":r}catch(t){}null!=r&&!1!==r||"spellcheck"==e||t.removeAttribute(e)}else{var s=i&&e!==(e=e.replace(/^xlink:?/,""));null==r||!1===r?s?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof r&&(s?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),r):t.setAttribute(e,r))}else t.className=r||""}function b(t){return this._listeners[t.type](e.event&&e.event(t)||t)}var _=[],x=0,w=!1,S=!1;function E(){for(var t;t=_.shift();)e.afterMount&&e.afterMount(t),t.componentDidMount&&t.componentDidMount()}function k(t,e,n,r,i,o){x++||(w=null!=i&&void 0!==i.ownerSVGElement,S=null!=t&&!("__preactattr_"in t));var a=C(t,e,n,r,o);return i&&a.parentNode!==i&&i.appendChild(a),--x||(S=!1,o||E()),a}function C(t,e,n,r,i){var o=t,a=w;if(null!=e&&"boolean"!=typeof e||(e=""),"string"==typeof e||"number"==typeof e)return t&&void 0!==t.splitText&&t.parentNode&&(!t._component||i)?t.nodeValue!=e&&(t.nodeValue=e):(o=document.createTextNode(e),t&&(t.parentNode&&t.parentNode.replaceChild(o,t),O(t,!0))),o.__preactattr_=!0,o;var s,c,l=e.nodeName;if("function"==typeof l)return function(t,e,n,r){for(var i=t&&t._component,o=i,a=t,s=i&&t._componentConstructor===e.nodeName,c=s,l=g(e);i&&!c&&(i=i._parentComponent);)c=i.constructor===e.nodeName;return i&&c&&(!r||i._component)?(M(i,l,3,n,r),t=i.base):(o&&!s&&(D(o),t=a=null),i=L(e.nodeName,l,n),t&&!i.nextBase&&(i.nextBase=t,a=null),M(i,l,1,n,r),t=i.base,a&&t!==a&&(a._component=null,O(a,!1))),t}(t,e,n,r);if(w="svg"===l||"foreignObject"!==l&&w,l=String(l),(!t||!m(t,l))&&(s=l,(c=w?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,o=c,t)){for(;t.firstChild;)o.appendChild(t.firstChild);t.parentNode&&t.parentNode.replaceChild(o,t),O(t,!0)}var u=o.firstChild,h=o.__preactattr_,f=e.children;if(null==h){h=o.__preactattr_={};for(var d=o.attributes,b=d.length;b--;)h[d[b].name]=d[b].value}return!S&&f&&1===f.length&&"string"==typeof f[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=f[0]&&(u.nodeValue=f[0]):(f&&f.length||null!=u)&&function(t,e,n,r,i){var o,a,s,c,l,u=t.childNodes,h=[],f={},d=0,m=0,g=u.length,y=0,b=e?e.length:0;if(0!==g)for(var _=0;_<g;_++){var x=u[_],w=x.__preactattr_;null!=(S=b&&w?x._component?x._component.__key:w.key:null)?(d++,f[S]=x):(w||(void 0!==x.splitText?!i||x.nodeValue.trim():i))&&(h[y++]=x)}if(0!==b)for(_=0;_<b;_++){var S;if(l=null,null!=(S=(c=e[_]).key))d&&void 0!==f[S]&&(l=f[S],f[S]=void 0,d--);else if(m<y)for(o=m;o<y;o++)if(void 0!==h[o]&&p(a=h[o],c,i)){l=a,h[o]=void 0,o===y-1&&y--,o===m&&m++;break}l=C(l,c,n,r),s=u[_],l&&l!==t&&l!==s&&(null==s?t.appendChild(l):l===s.nextSibling?v(s):t.insertBefore(l,s))}if(d)for(var _ in f)void 0!==f[_]&&O(f[_],!1);for(;m<=y;)void 0!==(l=h[y--])&&O(l,!1)}(o,f,n,r,S||null!=h.dangerouslySetInnerHTML),function(t,e,n){var r;for(r in n)e&&null!=e[r]||null==n[r]||y(t,r,n[r],n[r]=void 0,w);for(r in e)"children"===r||"innerHTML"===r||r in n&&e[r]===("value"===r||"checked"===r?t[r]:n[r])||y(t,r,n[r],n[r]=e[r],w)}(o,e.attributes,h),w=a,o}function O(t,e){var n=t._component;n?D(n):(null!=t.__preactattr_&&c(t.__preactattr_.ref,null),!1!==e&&null!=t.__preactattr_||v(t),A(t))}function A(t){for(t=t.lastChild;t;){var e=t.previousSibling;O(t,!0),t=e}}var T=[];function L(t,e,n){var r,i=T.length;for(t.prototype&&t.prototype.render?(r=new t(e,n),I.call(r,e,n)):((r=new I(e,n)).constructor=t,r.render=P);i--;)if(T[i].constructor===t)return r.nextBase=T[i].nextBase,T.splice(i,1),r;return r}function P(t,e,n){return this.constructor(t,n)}function M(t,n,r,i,o){t._disable||(t._disable=!0,t.__ref=n.ref,t.__key=n.key,delete n.ref,delete n.key,void 0===t.constructor.getDerivedStateFromProps&&(!t.base||o?t.componentWillMount&&t.componentWillMount():t.componentWillReceiveProps&&t.componentWillReceiveProps(n,i)),i&&i!==t.context&&(t.prevContext||(t.prevContext=t.context),t.context=i),t.prevProps||(t.prevProps=t.props),t.props=n,t._disable=!1,0!==r&&(1!==r&&!1===e.syncComponentUpdates&&t.base?f(t):j(t,1,o)),c(t.__ref,t))}function j(t,n,r,i){if(!t._disable){var o,a,c,l=t.props,u=t.state,h=t.context,f=t.prevProps||l,d=t.prevState||u,p=t.prevContext||h,m=t.base,v=t.nextBase,y=m||v,b=t._component,w=!1,S=p;if(t.constructor.getDerivedStateFromProps&&(u=s(s({},u),t.constructor.getDerivedStateFromProps(l,u)),t.state=u),m&&(t.props=f,t.state=d,t.context=p,2!==n&&t.shouldComponentUpdate&&!1===t.shouldComponentUpdate(l,u,h)?w=!0:t.componentWillUpdate&&t.componentWillUpdate(l,u,h),t.props=l,t.state=u,t.context=h),t.prevProps=t.prevState=t.prevContext=t.nextBase=null,t._dirty=!1,!w){o=t.render(l,u,h),t.getChildContext&&(h=s(s({},h),t.getChildContext())),m&&t.getSnapshotBeforeUpdate&&(S=t.getSnapshotBeforeUpdate(f,d));var C,A,T=o&&o.nodeName;if("function"==typeof T){var P=g(o);(a=b)&&a.constructor===T&&P.key==a.__key?M(a,P,1,h,!1):(C=a,t._component=a=L(T,P,h),a.nextBase=a.nextBase||v,a._parentComponent=t,M(a,P,0,h,!1),j(a,1,r,!0)),A=a.base}else c=y,(C=b)&&(c=t._component=null),(y||1===n)&&(c&&(c._component=null),A=k(c,o,h,r||!m,y&&y.parentNode,!0));if(y&&A!==y&&a!==b){var I=y.parentNode;I&&A!==I&&(I.replaceChild(A,y),C||(y._component=null,O(y,!1)))}if(C&&D(C),t.base=A,A&&!i){for(var R=t,N=t;N=N._parentComponent;)(R=N).base=A;A._component=R,A._componentConstructor=R.constructor}}for(!m||r?_.push(t):w||(t.componentDidUpdate&&t.componentDidUpdate(f,d,S),e.afterUpdate&&e.afterUpdate(t));t._renderCallbacks.length;)t._renderCallbacks.pop().call(t);x||i||E()}}function D(t){e.beforeUnmount&&e.beforeUnmount(t);var n=t.base;t._disable=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var r=t._component;r?D(r):n&&(null!=n.__preactattr_&&c(n.__preactattr_.ref,null),t.nextBase=n,v(n),T.push(t),A(n)),c(t.__ref,null)}function I(t,e){this._dirty=!0,this.context=e,this.props=t,this.state=this.state||{},this._renderCallbacks=[]}function R(t,e){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},R(t,e)}s(I.prototype,{setState:function(t,e){this.prevState||(this.prevState=this.state),this.state=s(s({},this.state),"function"==typeof t?t(this.state,this.props):t),e&&this._renderCallbacks.push(e),f(this)}
2,forceUpdate:function(t){t&&this._renderCallbacks.push(t),j(this,2)},render:function(){}}),n(700),n(4728),n(880),n(9836),n(7476);var N=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).state={bump:!1,debounced:!1},e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,R(e,n);var i=r.prototype;return i.componentWillMount=function(){var t,e,n=this;this.debounceStatusUpdate=(t=function(){if(!n.state.debounced){var t=!n.props.isInFocus||n.props.validChoiceMade;n.setState(function(e){return{bump:!e.bump,debounced:!0,silenced:t}})}},function(){var n=this,r=arguments;clearTimeout(e),e=setTimeout(function(){e=null,t.apply(n,r)},1400)})},i.componentWillReceiveProps=function(t){t.queryLength,this.setState({debounced:!1})},i.render=function(){var t,e=this.props,n=e.id,r=e.length,i=e.queryLength,o=e.minQueryLength,s=e.selectedOption,c=e.selectedOptionIndex,l=e.tQueryTooShort,u=e.tNoResults,h=e.tSelectedOption,f=e.tResults,d=e.className,p=this.state,m=p.bump,g=p.debounced,v=p.silenced,y=i<o,b=0===r,_=s?h(s,r,c):"";return t=y?l(o):b?u():f(r,_),this.debounceStatusUpdate(),a("div",{className:d,style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},a("div",{id:n+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!v&&g&&m?t:""),a("div",{id:n+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},v||!g||m?"":t))},r}(I);N.defaultProps={tQueryTooShort:function(t){return"Type in "+t+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(t,e,n){return t+" "+(n+1)+" of "+e+" is highlighted"},tResults:function(t,e){return t+" "+(1===t?"result":"results")+" "+(1===t?"is":"are")+" available. "+e}};function F(){return F=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},F.apply(this,arguments)}function B(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z(t,e){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},z(t,e)}var H={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function V(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var q=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).elementReferences={},n.state={focused:null,hovered:null,menuOpen:!1,options:e.defaultValue?[e.defaultValue]:[],query:e.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0},n.handleComponentBlur=n.handleComponentBlur.bind(B(n)),n.handleKeyDown=n.handleKeyDown.bind(B(n)),n.handleUpArrow=n.handleUpArrow.bind(B(n)),n.handleDownArrow=n.handleDownArrow.bind(B(n)),n.handleEnter=n.handleEnter.bind(B(n)),n.handlePrintableKey=n.handlePrintableKey.bind(B(n)),n.handleListMouseLeave=n.handleListMouseLeave.bind(B(n)),n.handleOptionBlur=n.handleOptionBlur.bind(B(n)),n.handleOptionClick=n.handleOptionClick.bind(B(n)),n.handleOptionFocus=n.handleOptionFocus.bind(B(n)),n.handleOptionMouseDown=n.handleOptionMouseDown.bind(B(n)),n.handleOptionMouseEnter=n.handleOptionMouseEnter.bind(B(n)),n.handleInputBlur=n.handleInputBlur.bind(B(n)),n.handleInputChange=n.handleInputChange.bind(B(n)),n.handleInputClick=n.handleInputClick.bind(B(n)),n.handleInputFocus=n.handleInputFocus.bind(B(n)),n.pollInputElement=n.pollInputElement.bind(B(n)),n.getDirectInputChanges=n.getDirectInputChanges.bind(B(n)),n}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,z(e,n);var i=r.prototype;return i.isQueryAnOption=function(t,e){var n=this;return-1!==e.map(function(t){return n.templateInputValue(t).toLowerCase()}).indexOf(t.toLowerCase())},i.componentDidMount=function(){this.pollInputElement()},i.componentWillUnmount=function(){clearTimeout(this.$pollInput)},i.pollInputElement=function(){var t=this;this.getDirectInputChanges(),this.$pollInput=setTimeout(function(){t.pollInputElement()},100)},i.getDirectInputChanges=function(){var t=this.elementReferences[-1];t&&t.value!==this.state.query&&this.handleInputChange({target:{value:t.value}})},i.componentDidUpdate=function(t,e){var n=this.state.focused,r=null===n,i=e.focused!==n;i&&!r&&this.elementReferences[n].focus();var o=-1===n,a=i&&null===e.focused;if(o&&a){var s=this.elementReferences[n];s.setSelectionRange(0,s.value.length)}},i.hasAutoselect=function(){return!V()&&this.props.autoselect},i.templateInputValue=function(t){var e=this.props.templates&&this.props.templates.inputValue;return e?e(t):t},i.templateSuggestion=function(t){var e=this.props.templates&&this.props.templates.suggestion;return e?e(t):t},i.handleComponentBlur=function(t){var e,n=this.state,r=n.options,i=n.query,o=n.selected;this.props.confirmOnBlur?(e=t.query||i,this.props.onConfirm(r[o])):e=i,this.setState({focused:null,menuOpen:t.menuOpen||!1,query:e,selected:null,validChoiceMade:this.isQueryAnOption(e,r)})},i.handleListMouseLeave=function(t){this.setState({hovered:null})},i.handleOptionBlur=function(t,e){var n=this.state,r=n.focused,i=n.menuOpen,o=n.options,a=n.selected,s=null===t.relatedTarget,c=t.relatedTarget===this.elementReferences[-1],l=r!==e&&-1!==r;if(!l&&s||!l&&!c){var u=i&&V();this.handleComponentBlur({menuOpen:u,query:this.templateInputValue(o[a])})}},i.handleInputBlur=function(t){var e=this.state,n=e.focused,r=e.menuOpen,i=e.options,o=e.query,a=e.selected;
2if(-1===n){var s=r&&V(),c=V()?o:this.templateInputValue(i[a]);this.handleComponentBlur({menuOpen:s,query:c})}},i.handleInputChange=function(t){var e=this,n=this.props,r=n.minLength,i=n.source,o=n.showAllValues,a=this.hasAutoselect(),s=t.target.value,c=0===s.length,l=this.state.query!==s,u=s.length>=r;this.setState({query:s,ariaHint:c}),o||!c&&l&&u?i(s,function(t){var n=t.length>0;e.setState({menuOpen:n,options:t,selected:a&&n?0:-1,validChoiceMade:!1})}):!c&&u||this.setState({menuOpen:!1,options:[]})},i.handleInputClick=function(t){this.handleInputChange(t)},i.handleInputFocus=function(t){var e=this.state,n=e.query,r=e.validChoiceMade,i=e.options,o=this.props.minLength,a=!r&&n.length>=o&&i.length>0;a?this.setState(function(t){var e=t.menuOpen;return{focused:-1,menuOpen:a||e,selected:-1}}):this.setState({focused:-1})},i.handleOptionFocus=function(t){this.setState({focused:t,hovered:null,selected:t})},i.handleOptionMouseEnter=function(t,e){V()||this.setState({hovered:e})},i.handleOptionClick=function(t,e){var n=this.state.options[e],r=this.templateInputValue(n);this.props.onConfirm(n),this.setState({focused:-1,hovered:null,menuOpen:!1,query:r,selected:-1,validChoiceMade:!0}),this.forceUpdate()},i.handleOptionMouseDown=function(t){t.preventDefault()},i.handleUpArrow=function(t){t.preventDefault();var e=this.state,n=e.menuOpen,r=e.selected;-1!==r&&n&&this.handleOptionFocus(r-1)},i.handleDownArrow=function(t){var e=this;if(t.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)t.preventDefault(),this.props.source("",function(t){e.setState({menuOpen:!0,options:t,selected:0,focused:0,hovered:null})});else if(!0===this.state.menuOpen){var n=this.state,r=n.menuOpen,i=n.options,o=n.selected;o!==i.length-1&&r&&this.handleOptionFocus(o+1)}},i.handleSpace=function(t){var e=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(t.preventDefault(),this.props.source("",function(t){e.setState({menuOpen:!0,options:t})})),-1!==this.state.focused&&(t.preventDefault(),this.handleOptionClick(t,this.state.focused))},i.handleEnter=function(t){this.state.menuOpen&&(t.preventDefault(),this.state.selected>=0&&this.handleOptionClick(t,this.state.selected))},i.handlePrintableKey=function(t){var e=this.elementReferences[-1];t.target===e||e.focus()},i.handleKeyDown=function(t){switch(H[t.keyCode]){case"up":this.handleUpArrow(t);break;case"down":this.handleDownArrow(t);break;case"space":this.handleSpace(t);break;case"enter":this.handleEnter(t);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:((e=t.keyCode)>47&&e<58||32===e||8===e||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223)&&this.handlePrintableKey(t)}var e},i.render=function(){var t,e=this,n=this.props,r=n.cssNamespace,i=n.displayMenu,o=n.id,s=n.minLength,c=n.name,l=n.placeholder,u=n.required,h=n.showAllValues,f=n.tNoResults,d=n.tStatusQueryTooShort,p=n.tStatusNoResults,m=n.tStatusSelectedOption,g=n.tStatusResults,v=n.tAssistiveHint,y=n.dropdownArrow,b=n.menuAttributes,_=n.inputClasses,x=n.hintClasses,w=n.menuClasses,S=this.state,E=S.focused,k=S.hovered,C=S.menuOpen,O=S.options,A=S.query,T=S.selected,L=S.ariaHint,P=S.validChoiceMade,M=this.hasAutoselect(),j=-1===E,D=0===O.length,I=0!==A.length,R=A.length>=s,B=this.props.showNoOptionsFound&&j&&D&&I&&R,z=r+"__wrapper",H=r+"__status",q=r+"__dropdown-arrow-down",W=-1!==E&&null!==E,U=r+"__option",G=r+"__hint",$=this.templateInputValue(O[T]),Y=$&&0===$.toLowerCase().indexOf(A.toLowerCase())&&M?A+$.substr(A.length):"",K=o+"__assistiveHint",X={"aria-describedby":L?K:null,"aria-expanded":C?"true":"false","aria-activedescendant":W?o+"__option--"+E:null,"aria-owns":o+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"};h&&"string"==typeof(t=y({className:q}))&&(t=a("div",{className:r+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:t}}));var Z=r+"__input",J=[Z,this.props.showAllValues?Z+"--show-all-values":Z+"--default"];null!==E&&J.push(Z+"--focused"),_&&J.push(_);var Q=r+"__menu",tt=[Q,Q+"--"+i,Q+"--"+(C||B?"visible":"hidden")];w&&tt.push(w),(null!=b&&b.class||null!=b&&b.className)&&tt.push((null==b?void 0:b.class)||(null==b?void 0:b.className));var et=Object.assign({},b,{id:o+"__listbox",role:"listbox",className:tt.join(" "),onMouseLeave:this.handleListMouseLeave});return delete et.class,a("div",{className:z,onKeyDown:this.handleKeyDown},a(N,{id:o,length:O.length,queryLength:A.length,minQueryLength:s,selectedOption:this.templateInputValue(O[T]),selectedOptionIndex:T,validChoiceMade:P,isInFocus:null!==this.state.focused,tQueryTooShort:d,tNoResults:p,tSelectedOption:m,tRe
2sults:g,className:H}),Y&&a("span",null,a("input",{className:[G,null===x?_:x].filter(Boolean).join(" "),readonly:!0,tabIndex:"-1",value:Y})),a("input",F({},X,{autoComplete:"off",className:J.join(" "),id:o,onClick:this.handleInputClick,onBlur:this.handleInputBlur},{onInput:this.handleInputChange},{onFocus:this.handleInputFocus,name:c,placeholder:l,ref:function(t){e.elementReferences[-1]=t},type:"text",role:"combobox",required:u,value:A})),t,a("ul",et,O.map(function(t,n){var r=(-1===E?T===n:E===n)&&null===k?" "+U+"--focused":"",i=n%2?" "+U+"--odd":"",s=V()?"<span id="+o+"__option-suffix--"+n+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(n+1)+" of "+O.length+"</span>":"";return a("li",{"aria-selected":E===n?"true":"false",className:""+U+r+i,dangerouslySetInnerHTML:{__html:e.templateSuggestion(t)+s},id:o+"__option--"+n,key:n,onBlur:function(t){return e.handleOptionBlur(t,n)},onClick:function(t){return e.handleOptionClick(t,n)},onMouseDown:e.handleOptionMouseDown,onMouseEnter:function(t){return e.handleOptionMouseEnter(t,n)},ref:function(t){e.elementReferences[n]=t},role:"option",tabIndex:"-1","aria-posinset":n+1,"aria-setsize":O.length})}),B&&a("li",{className:U+" "+U+"--no-results"},f())),a("span",{id:K,style:{display:"none"}},v()))},r}(I);function W(t){if(!t.element)throw new Error("element is not defined");if(!t.id)throw new Error("id is not defined");if(!t.source)throw new Error("source is not defined");Array.isArray(t.source)&&(t.source=U(t.source)),function(t,e,n){k(n,t,{},!1,e,!1)}(a(q,t),t.element)}q.defaultProps={autoselect:!1,cssNamespace:"autocomplete",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select.  Touch device users, explore by touch or with swipe gestures."},dropdownArrow:function(t){return a("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t.className,focusable:"false"},a("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},a("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))},menuAttributes:{},inputClasses:null,hintClasses:null,menuClasses:null};
2var U=function(t){return function(e,n){n(t.filter(function(t){return-1!==t.toLowerCase().indexOf(e.toLowerCase())}))}};W.enhanceSelectElement=function(t){if(!t.selectElement)throw new Error("selectElement is not defined");if(!t.source){var e=[].filter.call(t.selectElement.options,function(e){return e.value||t.preserveNullOptions});t.source=e.map(function(t){return t.textContent||t.innerText})}if(t.onConfirm=t.onConfirm||function(e){var n=[].filter.call(t.selectElement.options,function(t){return(t.textContent||t.innerText)===e})[0];n&&(n.selected=!0)},t.selectElement.value||void 0===t.defaultValue){var n=t.selectElement.options[t.selectElement.options.selectedIndex];t.defaultValue=n.textContent||n.innerText}void 0===t.name&&(t.name=""),void 0===t.id&&(void 0===t.selectElement.id?t.id="":t.id=t.selectElement.id),void 0===t.autoselect&&(t.autoselect=!0);var r=document.createElement("div");t.selectElement.parentNode.insertBefore(r,t.selectElement),W(Object.assign({},t,{element:r})),t.selectElement.style.display="none",t.selectElement.id=t.selectElement.id+"-select"};var G=W}(),r.default}()},2953:(t,e,n)=>{"use strict";var r=n(4475),i=n(7400),o=n(9296),a=n(3792),s=n(6699),c=n(687),l=n(8227)("iterator"),u=a.values,h=function(t,e){if(t){if(t[l]!==u)try{s(t,l,u)}catch(e){t[l]=u}if(c(t,e,!0),i[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var f in i)h(r[f]&&r[f].prototype,f);h(o,"DOMTokenList")},2967:(t,e,n)=>{"use strict";var r=n(6706),i=n(8551),o=n(3506);
2t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},3061:(t,e,n)=>{"use strict";var r=n(9039);t.exports=function(t){return r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},3110:(t,e,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(8745),a=n(9565),s=n(9504),c=n(9039),l=n(4901),u=n(757),h=n(7680),f=n(6933),d=n(4495),p=String,m=i("JSON","stringify"),g=s(/./.exec),v=s("".charAt),y=s("".charCodeAt),b=s("".replace),_=s(1..toString),x=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!d||c(function(){var t=i("Symbol")("stringify detection");return"[null]"!==m([t])||"{}"!==m({a:t})||"{}"!==m(Object(t))}),k=c(function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")}),C=function(t,e){var n=h(arguments),r=f(e);if(l(r)||void 0!==t&&!u(t))return n[1]=function(t,e){if(l(r)&&(e=a(r,this,p(t),e)),!u(e))return e},o(m,null,n)},O=function(t,e,n){var r=v(n,e-1),i=v(n,e+1);return g(w,t)&&!g(S,i)||g(S,t)&&!g(w,r)?"\\u"+_(y(t,0),16):t};m&&r({target:"JSON",stat:!0,arity:3,forced:E||k},{stringify:function(t,e,n){var r=h(arguments),i=o(E?C:m,null,r);return k&&"string"==typeof i?b(i,x,O):i}})},3138:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},3142:(t,e,n)=>{"use strict";n(511)("matchAll")},3167:(t,e,n)=>{"use strict";var r=n(4901),i=n(34),o=n(2967);t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},3179:(t,e,n)=>{"use strict";var r=n(2140),i=n(6955);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},3202:(t,e,n)=>{"use strict";var r=n(9392);t.exports=/MSIE|Trident/.test(r)},3237:(t,e,n)=>{"use strict";n(511)("replace")},3288:(t,e,n)=>{"use strict";var r=n(9504),i=n(6840),o=Date.prototype,a="Invalid Date",s="toString",c=r(o[s]),l=r(o.getTime);String(new Date(NaN))!==a&&i(o,s,function(){var t=l(this);return t==t?c(this):a})},3296:(t,e,n)=>{"use strict";n(5806)},3362:(t,e,n)=>{"use strict";n(436),n(6499),n(2003),n(7743),n(1481),n(280)},3365:(t,e,n)=>{"use strict";var r,i=n(2744),o=n(4475),a=n(9504),s=n(6279),c=n(5832),l=n(6468),u=n(4006),h=n(34),f=n(1181).enforce,d=n(9039),p=n(8622),m=Object,g=Array.isArray,v=m.isExtensible,y=m.isFrozen,b=m.isSealed,_=m.freeze,x=m.seal,w=!o.ActiveXObject&&"ActiveXObject"in o,S=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},E=l("WeakMap",S,u),k=E.prototype,C=a(k.set);if(p)if(w){r=u.getConstructor(S,"WeakMap",!0),c.enable();var O=a(k.delete),A=a(k.has),T=a(k.get);s(k,{delete:function(t){if(h(t)&&!v(t)){var e=f(this);return e.frozen||(e.frozen=new r),O(this,t)||e.frozen.delete(t)}return O(this,t)},has:function(t){if(h(t)&&!v(t)){var e=f(this);return e.frozen||(e.frozen=new r),A(this,t)||e.frozen.has(t)}return A(this,t)},get:function(t){if(h(t)&&!v(t)){var e=f(this);return e.frozen||(e.frozen=new r),A(this,t)?T(this,t):e.frozen.get(t)}return T(this,t)},set:function(t,e){if(h(t)&&!v(t)){var n=f(this);n.frozen||(n.frozen=new r),A(this,t)?C(this,t,e):n.frozen.set(t,e)}else C(this,t,e);return this}})}else i&&d(function(){var t=_([]);return C(new E,t,1),!y(t)})&&s(k,{set:function(t,e){var n;return g(t)&&(y(t)?n=_:b(t)&&(n=x)),C(this,t,e),n&&n(t),this}})},3389:(t,e,n)=>{"use strict";var r=n(4475),i=n(3724),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return r[t];var e=o(r,t);return e&&e.value}},3392:(t,e,n)=>{"use strict";var r=n(9504),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},3418:(t,e,n)=>{"use strict";var r=n(6518),i=n(7916);r({target:"Array",stat:!0,forced:!n(4428)(function(t){Array.from(t)})},{from:i})},3438:(t,e,n)=>{"use strict";var r=n(8551),i=n(34),o=n(6043);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},3451:(t,e,n)=>{"use strict";var r=n(6518),i=n(3839).findLastIndex,o=n(6469);r({target:"Array",proto:!0},{findLastIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},3470:t=>{"use strict";
2t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},3500:(t,e,n)=>{"use strict";var r=n(4475),i=n(7400),o=n(9296),a=n(235),s=n(6699),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&c(r[l]&&r[l].prototype);c(o)},3506:(t,e,n)=>{"use strict";var r=n(3925),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},3514:(t,e,n)=>{"use strict";n(6469)("flat")},3517:(t,e,n)=>{"use strict";var r=n(9504),i=n(9039),o=n(4901),a=n(6955),s=n(7751),c=n(3706),l=function(){},u=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=r(h.exec),d=!h.test(l),p=function(t){if(!o(t))return!1;try{return u(l,[],t),!0}catch(t){return!1}},m=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(h,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!u||i(function(){var t;return p(p.call)||!p(Object)||!p(function(){t=!0})||t})?m:p},3518:(t,e,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9306),a=n(7751),s=n(6043),c=n(1103),l=n(2652),u=n(537),h="No one promise resolved";r({target:"Promise",stat:!0,forced:u},{any:function(t){var e=this,n=a("AggregateError"),r=s.f(e),u=r.resolve,f=r.reject,d=c(function(){var r=o(e.resolve),a=[],s=0,c=1,d=!1;l(t,function(t){var o=s++,l=!1;c++,i(r,e,t).then(function(t){l||d||(d=!0,u(t))},function(t){l||d||(l=!0,a[o]=t,--c||f(new n(a,h)))})}),--c||f(new n(a,h))});return d.error&&f(d.value),r.promise}})},3548:(t,e,n)=>{"use strict";var r=n(3724),i=n(2106),o=n(34),a=n(3925),s=n(8981),c=n(7750),l=Object.getPrototypeOf,u=Object.setPrototypeOf,h=Object.prototype,f="__proto__";if(r&&l&&u&&!(f in h))try{i(h,f,{configurable:!0,get:function(){return l(s(this))},set:function(t){var e=c(this);a(t)&&o(e)&&u(e,t)}})}catch(t){}},3609:(t,e,n)=>{"use strict";var r=n(6518),i=n(8981),o=n(6198),a=n(4527),s=n(4606),c=n(6837);r({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}()},{unshift:function(t){var e=i(this),n=o(e),r=arguments.length;if(r){c(n+r);for(var l=n;l--;){var u=l+r;l in e?e[u]=e[l]:s(e,u)}for(var h=0;h<r;h++)e[h]=arguments[h]}return a(e,n+r)}})},3635:(t,e,n)=>{"use strict";var r=n(9039),i=n(4475).RegExp;t.exports=r(function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})},3640:(t,e,n)=>{"use strict";var r=n(8551),i=n(4270),o=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},3706:(t,e,n)=>{"use strict";var r=n(9504),i=n(4901),o=n(7629),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},3717:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},3724:(t,e,n)=>{"use strict";var r=n(9039);t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},3771:(t,e,n)=>{"use strict";var r=n(6518),i=n(4373),o=n(6469);r({target:"Array",proto:!0},{fill:i}),o("fill")},3772:(t,e,n)=>{"use strict";n(3365)},3792:(t,e,n)=>{"use strict";var r=n(5397),i=n(6469),o=n(6269),a=n(1181),s=n(4913).f,c=n(1088),l=n(2529),u=n(6395),h=n(3724),f="Array Iterator",d=a.set,p=a.getterFor(f);t.exports=c(Array,"Array",function(t,e){d(this,{type:f,target:r(t),index:0,kind:e})},function(){var t=p(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(n,!1);case"values":return l(e[n],!1)}return l([n,e[n]],!1)},"values");var m=o.Arguments=o.Array;
2if(i("keys"),i("values"),i("entries"),!u&&h&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(t){}},3802:(t,e,n)=>{"use strict";var r=n(9504),i=n(7750),o=n(655),a=n(5071),s=r("".replace),c=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),u=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,c,"")),2&t&&(n=s(n,l,"$1")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},3836:(t,e,n)=>{"use strict";n(838);var r=n(7015);t.exports=r("Array","findLast")},3839:(t,e,n)=>{"use strict";var r=n(6080),i=n(7055),o=n(8981),a=n(6198),s=function(t){var e=1===t;return function(n,s,c){for(var l,u=o(n),h=i(u),f=a(h),d=r(s,c);f-- >0;)if(d(l=h[f],f,u))switch(t){case 0:return l;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},3851:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(5397),a=n(7347).f,s=n(3724);r({target:"Object",stat:!0,forced:!s||i(function(){a(1)}),sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},3904:(t,e,n)=>{"use strict";var r=n(4475),i=n(9039),o=n(9504),a=n(655),s=n(3802).trim,c=n(5071),l=o("".charAt),u=r.parseFloat,h=r.Symbol,f=h&&h.iterator,d=1/u(c+"-0")!=-1/0||f&&!i(function(){u(Object(f))});t.exports=d?function(t){var e=s(a(t)),n=u(e);return 0===n&&"-"===l(e,0)?-0:n}:u},3921:(t,e,n)=>{"use strict";var r=n(6518),i=n(2652),o=n(4659);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,function(t,n){o(e,t,n)},{AS_ENTRIES:!0}),e}})},3925:(t,e,n)=>{"use strict";var r=n(34);t.exports=function(t){return r(t)||null===t}},3941:(t,e,n)=>{"use strict";var r=n(6518),i=n(34),o=n(5832).onFreeze,a=n(2744),s=n(9039),c=Object.seal;r({target:"Object",stat:!0,forced:s(function(){c(1)}),sham:!a},{seal:function(t){return c&&i(t)?c(o(t)):t}})},3967:(t,e,n)=>{"use strict";var r=n(6518),i=n(34),o=n(5832).onFreeze,a=n(2744),s=n(9039),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:s(function(){c(1)}),sham:!a},{preventExtensions:function(t){return c&&i(t)?c(o(t)):t}})},3994:(t,e,n)=>{"use strict";var r=n(7657).IteratorPrototype,i=n(2360),o=n(6980),a=n(687),s=n(6269),c=function(){return this};t.exports=function(t,e,n,l){var u=e+" Iterator";return t.prototype=i(r,{next:o(+!l,n)}),a(t,u,!1,!0),s[u]=c,t}},4003:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(34),a=n(4576),s=n(5652),c=Object.isFrozen;r({target:"Object",stat:!0,forced:s||i(function(){c(1)})},{isFrozen:function(t){return!o(t)||!(!s||"ArrayBuffer"!==a(t))||!!c&&c(t)}})},4006:(t,e,n)=>{"use strict";var r=n(9504),i=n(6279),o=n(5832).getWeakData,a=n(679),s=n(8551),c=n(4117),l=n(34),u=n(2652),h=n(9213),f=n(9297),d=n(1181),p=d.set,m=d.getterFor,g=h.find,v=h.findIndex,y=r([].splice),b=0,_=function(t){return t.frozen||(t.frozen=new x)},x=function(){this.entries=[]},w=function(t,e){return g(t.entries,function(t){return t[0]===e})};x.prototype={get:function(t){var e=w(this,t);if(e)return e[1]},has:function(t){return!!w(this,t)},set:function(t,e){var n=w(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,function(e){return e[0]===t});return~e&&y(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,n,r){var h=t(function(t,i){a(t,d),p(t,{type:e,id:b++,frozen:void 0}),c(i)||u(i,t[r],{that:t,AS_ENTRIES:n})}),d=h.prototype,g=m(e),v=function(t,e,n){var r=g(t),i=o(s(e),!0);return!0===i?_(r).set(e,n):i[r.id]=n,t};return i(d,{delete:function(t){var e=g(this);if(!l(t))return!1;var n=o(t);return!0===n?_(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=g(this);if(!l(t))return!1;var n=o(t);return!0===n?_(e).has(t):n&&f(n,e.id)}}),i(d,n?{get:function(t){var e=g(this);if(l(t)){var n=o(t);return!0===n?_(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),h}}},4052:(t,e,n)=>{"use strict";var r=n(6518),i=n(1743);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},4055:(t,e,n)=>{"use strict";var r=n(4475),i=n(34),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},4114:(t,e,n)=>{"use strict";var r=n(6518),i=n(8981),o=n(6198),a=n(4527),s=n(6837);r({target:"Array",proto:!0,arity:1,forced:n(9039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=i(this),n=o(e),r=arguments.length;s(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return a(e,n),n}})},4117:t=>{"use strict";
vendor: 9,740 bytes, line 2
2t.exports=function(t){return null==t}},4124:(t,e,n)=>{"use strict";var r=n(4475);t.exports=function(t,e){var n=r[t],i=n&&n.prototype;return i&&i[e]}},4170:(t,e,n)=>{"use strict";var r=n(6518),i=n(566);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},4185:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},4209:(t,e,n)=>{"use strict";var r=n(8227),i=n(6269),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},4213:(t,e,n)=>{"use strict";var r=n(3724),i=n(9504),o=n(9565),a=n(9039),s=n(1072),c=n(3717),l=n(8773),u=n(8981),h=n(7055),f=Object.assign,d=Object.defineProperty,p=i([].concat);t.exports=!f||a(function(){if(r&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!==f({},t)[n]||s(f({},e)).join("")!==i})?function(t,e){for(var n=u(t),i=arguments.length,a=1,f=c.f,d=l.f;i>a;)for(var m,g=h(arguments[a++]),v=f?p(s(g),f(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],r&&!o(d,g,m)||(n[m]=g[m]);return n}:f},4270:(t,e,n)=>{"use strict";var r=n(9565),i=n(4901),o=n(34),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw new a("Can't convert object to primitive value")}},4332:t=>{"use strict";t.exports=JSON.parse('{"whitelist":["mapping-phoenix.opendata.arcgis.com","addtoany.com","action.phoenix.gov","tel:","email:"],"classListNoInline":["cmp-card","title","cmp-breadcrumbs","btn-primary","btn-secondary","btn-tertiary","btn-outline","btn-arrow.btn-link","footer__social--icon","cmp-list--link-list","cmp-dynamic-table__header"],"mimetype":[".pdf",".ppt",".doc",".docx",".zip",".xlsx",".xls",".csv"],"classListAnimatedExternalLink":["cmp-card","btn-primary","btn-secondary","btn-tertiary","btn-outline","btn-arrow.btn-link","cmp-list--link-list"]}')},4346:(t,e,n)=>{"use strict";n(6518)({target:"Array",stat:!0},{isArray:n(4376)})},4373:(t,e,n)=>{"use strict";var r=n(8981),i=n(5610),o=n(6198);t.exports=function(t){for(var e=r(this),n=o(e),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:i(c,n);l>s;)e[s++]=t;return e}},4376:(t,e,n)=>{"use strict";var r=n(4576);t.exports=Array.isArray||function(t){return"Array"===r(t)}},4423:(t,e,n)=>{"use strict";var r=n(6518),i=n(9617).includes,o=n(9039),a=n(6469);r({target:"Array",proto:!0,forced:o(function(){return!Array(1).includes()})},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},4428:(t,e,n)=>{"use strict";var r=n(8227)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},4475:function(t,e,n){"use strict";var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4488:(t,e,n)=>{"use strict";var r=n(7680),i=Math.floor,o=function(t,e){var n=t.length;if(n<8)for(var a,s,c=1;c<n;){for(s=c,a=t[c];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==c++&&(t[s]=a)}else for(var l=i(n/2),u=o(r(t,0,l),e),h=o(r(t,l),e),f=u.length,d=h.length,p=0,m=0;p<f||m<d;)t[p+m]=p<f&&m<d?e(u[p],h[m])<=0?u[p++]:h[m++]:p<f?u[p++]:h[m++];return t};t.exports=o},4490:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(4376),a=i([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},4495:(t,e,n)=>{"use strict";var r=n(7388),i=n(9039),o=n(4475).String;t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},4527:(t,e,n)=>{"use strict";var r=n(3724),i=n(4376),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4554:(t,e,n)=>{"use strict";var r=n(6518),i=n(8981),o=n(5610),a=n(1291),s=n(6198),c=n(4527),l=n(6837),u=n(1469),h=n(4659),f=n(4606),d=n(597)("splice"),p=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(t,e){var n,r,d,g,v,y,b=i(this),_=s(b),x=o(t,_),w=arguments.length;for(0===w?n=r=0:1===w?(n=0,r=_-x):(n=w-2,r=m(p(a(e),0),_-x)),l(_+n-r),d=u(b,r),g=0;g<r;g++)(v=x+g)in b&&h(d,g,b[v]);if(d.length=r,n<r){for(g=x;g<_-r;g++)y=g+n,(v=g+r)in b?b[y]=b[v]:f(b,y);for(g=_;g>_-r+n;g--)f(b,g-1)}else if(n>r)for(g=_-r;g>x;g--)y=g+n-1,(v=g+r-1)in b?b[y]=b[v]:f(b,y);for(g=0;g<n;g++)b[g+x]=arguments[g+2];return c(b,_-r+n),d}})},4576:(t,e,n)=>{"use strict";var r=n(9504),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},4598:(t,e,n)=>{"use strict";var r=n(9039);t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){return 1},1)})}},4599:(t,e,n)=>{"use strict";var r=n(6518),i=n(4475),o=n(9472)(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==o},{setTimeout:o})},4603:(t,e,n)=>{"use strict";var r=n(6840),i=n(9504),o=n(655),a=n(431),s=URLSearchParams,c=s.prototype,l=i(c.append),u=i(c.delete),h=i(c.forEach),f=i([].push),d=new s("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&r(c,"delete",function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return u(this,t);var r=[];h(this,function(t,e){f(r,{key:e,value:t})}),a(e,1);for(var i,s=o(t),c=o(n),d=0,p=0,m=!1,g=r.length;d<g;)i=r[d++],m||i.key===s?(m=!0,u(this,i.key)):p++;for(;p<g;)(i=r[p++]).key===s&&i.value===c||l(this,i.key,i.value)},{enumerable:!0,unsafe:!0})},4606:(t,e,n)=>{"use strict";var r=n(6823),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+r(e)+" of "+r(t))}},4628:(t,e,n)=>{"use strict";var r=n(6518),i=n(6043);r({target:"Promise",stat:!0},{withResolvers:function(){var t=i.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},4659:(t,e,n)=>{"use strict";var r=n(6969),i=n(4913),o=n(6980);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},4731:(t,e,n)=>{"use strict";var r=n(4475);n(687)(r.JSON,"JSON",!0)},4782:(t,e,n)=>{"use strict";var r=n(6518),i=n(4376),o=n(3517),a=n(34),s=n(5610),c=n(6198),l=n(5397),u=n(4659),h=n(8227),f=n(597),d=n(7680),p=f("slice"),m=h("species"),g=Array,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,h,f=l(this),p=c(f),y=s(t,p),b=s(void 0===e?p:e,p);if(i(f)&&(n=f.constructor,(o(n)&&(n===g||i(n.prototype))||a(n)&&null===(n=n[m]))&&(n=void 0),n===g||void 0===n))return d(f,y,b);for(r=new(void 0===n?g:n)(v(b-y,0)),h=0;y<b;y++,h++)y in f&&u(r,h,f[y]);return r.length=h,r}})},4864:(t,e,n)=>{"use strict";var r=n(3724),i=n(4475),o=n(9504),a=n(2796),s=n(3167),c=n(6699),l=n(2360),u=n(8480).f,h=n(1625),f=n(788),d=n(655),p=n(1034),m=n(8429),g=n(1056),v=n(6840),y=n(9039),b=n(9297),_=n(1181).enforce,x=n(7633),w=n(8227),S=n(3635),E=n(8814),k=w("match"),C=i.RegExp,O=C.prototype,A=i.SyntaxError,T=o(O.exec),L=o("".charAt),P=o("".replace),M=o("".indexOf),j=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,R=/a/g,N=new C(I)!==I,F=m.MISSED_STICKY,B=m.UNSUPPORTED_Y;if(a("RegExp",r&&(!N||F||S||E||y(function(){return R[k]=!1,C(I)!==I||C(R)===R||"/a/i"!==String(C(I,"i"))})))){for(var z=function(t,e){var n,r,i,o,a,u,m=h(O,this),g=f(t),v=void 0===e,y=[],x=t;if(!m&&g&&v&&t.constructor===z)return t;if((g||h(O,t))&&(t=t.source,v&&(e=p(x))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),x=t,S&&"dotAll"in I&&(r=!!e&&M(e,"s")>-1)&&(e=P(e,/s/g,"")),n=e,F&&"sticky"in I&&(i=!!e&&M(e,"y")>-1)&&B&&(e=P(e,/y/g,"")),E&&(o=function(t){for(var e,n=t.length,r=0,i="",o=[],a=l(null),s=!1,c=!1,u=0,h="";r<=n;r++){if("\\"===(e=L(t,r)))e+=L(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:T(D,j(t,r+1))&&(r+=2,c=!0),i+=e,u++;continue;case">"===e&&c:if(""===h||b(a,h))throw new A("Invalid capture group name");a[h]=!0,o[o.length]=[h,u],c=!1,h="";continue}c?h+=e:i+=e}return[i,o]}(t),t=o[0],y=o[1]),a=s(C(t,e),m?this:O,z),(r||i||y.length)&&(u=_(a),r&&(u.dotAll=!0,u.raw=z(function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(e=L(t,r))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+L(t,++r);return i}(t),n)),i&&(u.sticky=!0),y.length&&(u.groups=y)),t!==x)try{c(a,"source",""===x?"(?:)":x)}catch(t){}return a},H=u(C),V=0;H.length>V;)g(z,C,H[V++]);O.constructor=z,z.prototype=O,v(i,"RegExp",z,{constructor:!0})}x("RegExp")},4901:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},4913:(t,e,n)=>{"use strict";var r=n(3724),i=n(5917),o=n(8686),a=n(8551),s=n(6969),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=u(t,e);
2r&&r[d]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:h in n?n[h]:r[h],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},5031:(t,e,n)=>{"use strict";var r=n(7751),i=n(9504),o=n(8480),a=n(3717),s=n(8551),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},5071:t=>{"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},5086:(t,e,n)=>{"use strict";var r=n(6518),i=n(9213).some;r({target:"Array",proto:!0,forced:!n(4598)("some")},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},5240:(t,e,n)=>{"use strict";n(6468)("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},n(4006))},5276:(t,e,n)=>{"use strict";var r=n(6518),i=n(7476),o=n(9617).indexOf,a=n(4598),s=i([].indexOf),c=!!s&&1/s([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return c?s(this,t,e)||0:o(this,t,e)}})},5370:(t,e,n)=>{"use strict";var r=n(6198);t.exports=function(t,e,n){for(var i=0,o=arguments.length>2?n:r(e),a=new t(o);o>i;)a[i]=e[i++];return a}},5397:(t,e,n)=>{"use strict";var r=n(7055),i=n(7750);t.exports=function(t){return r(i(t))}},5440:(t,e,n)=>{"use strict";var r=n(8745),i=n(9565),o=n(9504),a=n(9228),s=n(9039),c=n(8551),l=n(4901),u=n(4117),h=n(1291),f=n(8014),d=n(655),p=n(7750),m=n(7829),g=n(5966),v=n(2478),y=n(6682),b=n(8227)("replace"),_=Math.max,x=Math.min,w=o([].concat),S=o([].push),E=o("".indexOf),k=o("".slice),C=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[b]&&""===/./[b]("a","$0");a("replace",function(t,e,n){var o=A?"$":"$0";return[function(t,n){var r=p(this),o=u(t)?void 0:g(t,b);return o?i(o,t,r,n):i(e,d(r),t,n)},function(t,i){var a=c(this),s=d(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var u=n(e,a,s,i);if(u.done)return u.value}var p=l(i);p||(i=d(i));var g,b=a.global;b&&(g=a.unicode,a.lastIndex=0);for(var O,A=[];null!==(O=y(a,s))&&(S(A,O),b);)""===d(O[0])&&(a.lastIndex=m(s,f(a.lastIndex),g));for(var T="",L=0,P=0;P<A.length;P++){for(var M,j=d((O=A[P])[0]),D=_(x(h(O.index),s.length),0),I=[],R=1;R<O.length;R++)S(I,C(O[R]));var N=O.groups;if(p){var F=w([j],I,D,s);void 0!==N&&S(F,N),M=d(r(i,void 0,F))}else M=v(j,s,D,I,N,i);D>=L&&(T+=k(s,L,D)+M,L=D+j.length)}return T+k(s,L)}]},!!s(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)},5472:(t,e,n)=>{"use strict";var r=n(6518),i=n(4475),o=n(687);r({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},5506:(t,e,n)=>{"use strict";var r=n(6518),i=n(2357).entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},5548:(t,e,n)=>{"use strict";var r=n(3517),i=n(6823),o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not a constructor")}},5575:(t,e,n)=>{"use strict";var r=n(6518),i=n(4475),o=n(9472)(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==o},{setInterval:o})},5610:(t,e,n)=>{"use strict";var r=n(1291),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5652:(t,e,n)=>{"use strict";var r=n(9039);t.exports=r(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})},5666:(t,e,n)=>{"use strict";n(3418),n(4346),n(1051),n(8107),n(8706),n(6835),n(8431),n(3771),n(2008),n(113),n(8980),n(838),n(3451),n(6449),n(8350),n(1629),n(4423),n(5276),n(3792),n(8598),n(8921),n(2062),n(4114),n(2712),n(8863),n(4490),n(4782),n(5086),n(6910),n(7478),n(4554),n(9678),n(9526),n(1658),n(3514),n(237),n(3609),n(1558),n(6099),n(7764);var r=n(9167);t.exports=r.Array},5700:(t,e,n)=>{"use strict";var r=n(511),i=n(8242);r("toPrimitive"),i()},5745:(t,e,n)=>{"use strict";var r=n(6395),i=n(7629);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5746:(t,e,n)=>{"use strict";var r=n(9565),i=n(9228),o=n(8551),a=n(4117),s=n(7750),c=n(3470),l=n(655),u=n(5966),h=n(6682);i("search",function(t,e,n){return[function(e){var n=s(this),i=a(e)?void 0:u(e,t);return i?r(i,e,n):new RegExp(e)[t](l(n))},function(t){var r=o(this),i=l(t),a=n(e,r,i);if(a.done)return a.value;var s=r.lastIndex;c(s,0)||(r.lastIndex=0);
vendor: 5,192 bytes, line 2
2var u=h(r,i);return c(r.lastIndex,s)||(r.lastIndex=s),null===u?-1:u.index}]})},5749:(t,e,n)=>{"use strict";var r=n(788),i=TypeError;t.exports=function(t){if(r(t))throw new i("The method doesn't accept regular expressions");return t}},5806:(t,e,n)=>{"use strict";n(7764);var r,i=n(6518),o=n(3724),a=n(7416),s=n(4475),c=n(6080),l=n(9504),u=n(6840),h=n(2106),f=n(679),d=n(9297),p=n(4213),m=n(7916),g=n(7680),v=n(8183).codeAt,y=n(6098),b=n(655),_=n(687),x=n(431),w=n(8406),S=n(1181),E=S.set,k=S.getterFor("URL"),C=w.URLSearchParams,O=w.getState,A=s.URL,T=s.TypeError,L=s.parseInt,P=Math.floor,M=Math.pow,j=l("".charAt),D=l(/./.exec),I=l([].join),R=l(1..toString),N=l([].pop),F=l([].push),B=l("".replace),z=l([].shift),H=l("".split),V=l("".slice),q=l("".toLowerCase),W=l([].unshift),U="Invalid scheme",G="Invalid host",$="Invalid port",Y=/[a-z]/i,K=/[\d+-.a-z]/i,X=/\d/,Z=/^0x/i,J=/^[0-7]+$/,Q=/^\d+$/,tt=/^[\da-f]+$/i,et=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nt=/[\0\t\n\r #/:<>?@[\\\]^|]/,rt=/^[\u0000-\u0020]+/,it=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ot=/[\t\n\r]/g,at=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)W(e,t%256),t=P(t/256);return I(e,".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,o=0;o<8;o++)0!==t[o]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=R(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},st={},ct=p({},st,{" ":1,'"':1,"<":1,">":1,"`":1}),lt=p({},ct,{"#":1,"?":1,"{":1,"}":1}),ut=p({},lt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ht=function(t,e){var n=v(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},ft={ftp:21,file:null,http:80,https:443,ws:80,wss:443},dt=function(t,e){var n;return 2===t.length&&D(Y,j(t,0))&&(":"===(n=j(t,1))||!e&&"|"===n)},pt=function(t){var e;return t.length>1&&dt(V(t,0,2))&&(2===t.length||"/"===(e=j(t,2))||"\\"===e||"?"===e||"#"===e)},mt=function(t){return"."===t||"%2e"===q(t)},gt=function(t){return".."===(t=q(t))||"%2e."===t||".%2e"===t||"%2e%2e"===t},vt={},yt={},bt={},_t={},xt={},wt={},St={},Et={},kt={},Ct={},Ot={},At={},Tt={},Lt={},Pt={},Mt={},jt={},Dt={},It={},Rt={},Nt={},Ft=function(t,e,n){var r,i,o,a=b(t);if(e){if(i=this.parse(a))throw new T(i);this.searchParams=null}else{if(void 0!==n&&(r=new Ft(n,!0)),i=this.parse(a,null,r))throw new T(i);(o=O(new C)).bindURL(this),this.searchParams=o}};Ft.prototype={type:"URL",parse:function(t,e,n){var i,o,a,s,c=this,l=e||vt,u=0,h="",f=!1,p=!1,v=!1;for(t=b(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=B(t,rt,""),t=B(t,it,"$1")),t=B(t,ot,""),i=m(t);u<=i.length;){switch(o=i[u],l){case vt:if(!o||!D(Y,o)){if(e)return U;l=bt;continue}h+=q(o),l=yt;break;case yt:if(o&&(D(K,o)||"+"===o||"-"===o||"."===o))h+=q(o);else{if(":"!==o){if(e)return U;h="",l=bt,u=0;continue}if(e&&(c.isSpecial()!==d(ft,h)||"file"===h&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=h,e)return void(c.isSpecial()&&ft[c.scheme]===c.port&&(c.port=null));h="","file"===c.scheme?l=Lt:c.isSpecial()&&n&&n.scheme===c.scheme?l=_t:c.isSpecial()?l=Et:"/"===i[u+1]?(l=xt,u++):(c.cannotBeABaseURL=!0,F(c.path,""),l=It)}break;case bt:if(!n||n.cannotBeABaseURL&&"#"!==o)return U;if(n.cannotBeABaseURL&&"#"===o){c.scheme=n.scheme,c.path=g(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=Nt;break}l="file"===n.scheme?Lt:wt;continue;case _t:if("/"!==o||"/"!==i[u+1]){l=wt;continue}l=kt,u++;break;case xt:if("/"===o){l=Ct;break}l=Dt;continue;case wt:if(c.scheme=n.scheme,o===r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query;else if("/"===o||"\\"===o&&c.isSpecial())l=St;else if("?"===o)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query="",l=Rt;else{if("#"!==o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.path.length--,l=Dt;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query,c.fragment="",l=Nt}break;case St:if(!c.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Dt;continue}l=Ct}else l=kt;break;case Et:if(l=kt,"/"!==o||"/"!==j(h,u+1))continue;u++;break;case kt:if("/"!==o&&"\\"!==o){l=Ct;continue}break;case Ct:if("@"===o){f&&(h="%40"+h),f=!0,a=m(h);for(var y=0;y<a.length;y++){var _=a[y];if(":"!==_||v){var x=ht(_,ut);v?c.password+=x:c.username+=x}else v=!0}h=""}else if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(f&&""===h)return"Invalid authority";u-=m(h).length+1,h="",l=Ot}else h+=o;break;case Ot:case At:if(e&&"file"===c.scheme){l=Mt;continue}if(":"!==o||p){if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(c.isSpecial()&&""===h)return G;if(e&&""===h&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(h))return s;if(h="",l=jt,e)return;continue}"["===o?p=!0:"]"===o&&(p=!1),h+=o}else{if(""===h)return G;if(s=c.parseHost(h))return s;if(h="",l=Tt,e===At)return}break;
vendor: 5,204 bytes, line 2
2case Tt:if(!D(X,o)){if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()||e){if(""!==h){var w=L(h,10);if(w>65535)return $;c.port=c.isSpecial()&&w===ft[c.scheme]?null:w,h=""}if(e)return;l=jt;continue}return $}h+=o;break;case Lt:if(c.scheme="file","/"===o||"\\"===o)l=Pt;else{if(!n||"file"!==n.scheme){l=Dt;continue}switch(o){case r:c.host=n.host,c.path=g(n.path),c.query=n.query;break;case"?":c.host=n.host,c.path=g(n.path),c.query="",l=Rt;break;case"#":c.host=n.host,c.path=g(n.path),c.query=n.query,c.fragment="",l=Nt;break;default:pt(I(g(i,u),""))||(c.host=n.host,c.path=g(n.path),c.shortenPath()),l=Dt;continue}}break;case Pt:if("/"===o||"\\"===o){l=Mt;break}n&&"file"===n.scheme&&!pt(I(g(i,u),""))&&(dt(n.path[0],!0)?F(c.path,n.path[0]):c.host=n.host),l=Dt;continue;case Mt:if(o===r||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&dt(h))l=Dt;else if(""===h){if(c.host="",e)return;l=jt}else{if(s=c.parseHost(h))return s;if("localhost"===c.host&&(c.host=""),e)return;h="",l=jt}continue}h+=o;break;case jt:if(c.isSpecial()){if(l=Dt,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==r&&(l=Dt,"/"!==o))continue}else c.fragment="",l=Nt;else c.query="",l=Rt;break;case Dt:if(o===r||"/"===o||"\\"===o&&c.isSpecial()||!e&&("?"===o||"#"===o)){if(gt(h)?(c.shortenPath(),"/"===o||"\\"===o&&c.isSpecial()||F(c.path,"")):mt(h)?"/"===o||"\\"===o&&c.isSpecial()||F(c.path,""):("file"===c.scheme&&!c.path.length&&dt(h)&&(c.host&&(c.host=""),h=j(h,0)+":"),F(c.path,h)),h="","file"===c.scheme&&(o===r||"?"===o||"#"===o))for(;c.path.length>1&&""===c.path[0];)z(c.path);"?"===o?(c.query="",l=Rt):"#"===o&&(c.fragment="",l=Nt)}else h+=ht(o,lt);break;case It:"?"===o?(c.query="",l=Rt):"#"===o?(c.fragment="",l=Nt):o!==r&&(c.path[0]+=ht(o,st));break;case Rt:e||"#"!==o?o!==r&&("'"===o&&c.isSpecial()?c.query+="%27":c.query+="#"===o?"%23":ht(o,st)):(c.fragment="",l=Nt);break;case Nt:o!==r&&(c.fragment+=ht(o,ct))}u++}},parseHost:function(t){var e,n,r;if("["===j(t,0)){if("]"!==j(t,t.length-1))return G;if(e=function(t){var e,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,h=0,f=function(){return j(t,h)};if(":"===f()){if(":"!==j(t,1))return;h+=2,u=++l}for(;f();){if(8===l)return;if(":"!==f()){for(e=n=0;n<4&&D(tt,f());)e=16*e+L(f(),16),h++,n++;if("."===f()){if(0===n)return;if(h-=n,l>6)return;for(r=0;f();){if(i=null,r>0){if(!("."===f()&&r<4))return;h++}if(!D(X,f()))return;for(;D(X,f());){if(o=L(f(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;h++}c[l]=256*c[l]+i,2!==++r&&4!==r||l++}if(4!==r)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;c[l++]=e}else{if(null!==u)return;h++,u=++l}}if(null!==u)for(a=l-u,l=7;0!==l&&a>0;)s=c[l],c[l--]=c[u+a-1],c[u+--a]=s;else if(8!==l)return;return c}(V(t,1,-1)),!e)return G;this.host=e}else if(this.isSpecial()){if(t=y(t),D(et,t))return G;if(e=function(t){var e,n,r,i,o,a,s,c=H(t,".");if(c.length&&""===c[c.length-1]&&c.length--,(e=c.length)>4)return t;for(n=[],r=0;r<e;r++){if(""===(i=c[r]))return t;if(o=10,i.length>1&&"0"===j(i,0)&&(o=D(Z,i)?16:8,i=V(i,8===o?1:2)),""===i)a=0;else{if(!D(10===o?Q:8===o?J:tt,i))return t;a=L(i,o)}F(n,a)}for(r=0;r<e;r++)if(a=n[r],r===e-1){if(a>=M(256,5-e))return null}else if(a>255)return null;for(s=N(n),r=0;r<n.length;r++)s+=n[r]*M(256,3-r);return s}(t),null===e)return G;this.host=e}else{if(D(nt,t))return G;for(e="",n=m(t),r=0;r<n.length;r++)e+=ht(n[r],st);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(ft,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&dt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,n=t.username,r=t.password,i=t.host,o=t.port,a=t.path,s=t.query,c=t.fragment,l=e+":";return null!==i?(l+="//",t.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=at(i),null!==o&&(l+=":"+o)):"file"===e&&(l+="//"),l+=t.cannotBeABaseURL?a[0]:a.length?"/"+I(a,"/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},setHref:function(t){var e=this.parse(t);if(e)throw new T(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Bt(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+at(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(b(t)+":",vt)},getUsername:function(){return this.username},setUsername:function(t){var e=m(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<e.length;n++)this.username+=ht(e[n],ut)}},getPassword:function(){return this.password},setPassword:function(t){var e=m(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<e.length;n++)this.password+=ht(e[n],ut)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?at(t):at(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Ot)},getHostname:function(){var t=this.host;return null===t?"":at(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,At)},getPort:function(){var t=this.port;return null===t?"":b(t)}
vendor: 4,747 bytes, line 2
2,setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=b(t))?this.port=null:this.parse(t,Tt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+I(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,jt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=b(t))?this.query=null:("?"===j(t,0)&&(t=V(t,1)),this.query="",this.parse(t,Rt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=b(t))?("#"===j(t,0)&&(t=V(t,1)),this.fragment="",this.parse(t,Nt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Bt=function(t){var e=f(this,zt),n=x(arguments.length,1)>1?arguments[1]:void 0,r=E(e,new Ft(t,!1,n));o||(e.href=r.serialize(),e.origin=r.getOrigin(),e.protocol=r.getProtocol(),e.username=r.getUsername(),e.password=r.getPassword(),e.host=r.getHost(),e.hostname=r.getHostname(),e.port=r.getPort(),e.pathname=r.getPathname(),e.search=r.getSearch(),e.searchParams=r.getSearchParams(),e.hash=r.getHash())},zt=Bt.prototype,Ht=function(t,e){return{get:function(){return k(this)[t]()},set:e&&function(t){return k(this)[e](t)},configurable:!0,enumerable:!0}};if(o&&(h(zt,"href",Ht("serialize","setHref")),h(zt,"origin",Ht("getOrigin")),h(zt,"protocol",Ht("getProtocol","setProtocol")),h(zt,"username",Ht("getUsername","setUsername")),h(zt,"password",Ht("getPassword","setPassword")),h(zt,"host",Ht("getHost","setHost")),h(zt,"hostname",Ht("getHostname","setHostname")),h(zt,"port",Ht("getPort","setPort")),h(zt,"pathname",Ht("getPathname","setPathname")),h(zt,"search",Ht("getSearch","setSearch")),h(zt,"searchParams",Ht("getSearchParams")),h(zt,"hash",Ht("getHash","setHash"))),u(zt,"toJSON",function(){return k(this).serialize()},{enumerable:!0}),u(zt,"toString",function(){return k(this).serialize()},{enumerable:!0}),A){var Vt=A.createObjectURL,qt=A.revokeObjectURL;Vt&&u(Bt,"createObjectURL",c(Vt,A)),qt&&u(Bt,"revokeObjectURL",c(qt,A))}_(Bt,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Bt})},5832:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(421),a=n(34),s=n(9297),c=n(4913).f,l=n(8480),u=n(298),h=n(1743),f=n(3392),d=n(2744),p=!1,m=f("meta"),g=0,v=function(t){c(t,m,{value:{objectID:"O"+g++,weakData:{}}})},y=t.exports={enable:function(){y.enable=function(){},p=!0;var t=l.f,e=i([].splice),n={};n[m]=1,t(n).length&&(l.f=function(n){for(var r=t(n),i=0,o=r.length;i<o;i++)if(r[i]===m){e(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,m)){if(!h(t))return"F";if(!e)return"E";v(t)}return t[m].objectID},getWeakData:function(t,e){if(!s(t,m)){if(!h(t))return!0;if(!e)return!1;v(t)}return t[m].weakData},onFreeze:function(t){return d&&p&&h(t)&&!s(t,m)&&v(t),t}};o[m]=!0},5917:(t,e,n)=>{"use strict";var r=n(3724),i=n(9039),o=n(4055);t.exports=!r&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},5966:(t,e,n)=>{"use strict";var r=n(9306),i=n(4117);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},6031:(t,e,n)=>{"use strict";n(5575),n(4599)},6034:(t,e,n)=>{"use strict";var r=n(6518),i=n(2357).values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},6043:(t,e,n)=>{"use strict";var r=n(9306),i=TypeError,o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw new i("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},6080:(t,e,n)=>{"use strict";var r=n(7476),i=n(9306),o=n(616),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},6098:(t,e,n)=>{"use strict";var r=n(9504),i=2147483647,o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",c=RangeError,l=r(a.exec),u=Math.floor,h=String.fromCharCode,f=r("".charCodeAt),d=r([].join),p=r([].push),m=r("".replace),g=r("".split),v=r("".toLowerCase),y=function(t){return t+22+75*(t<26)},b=function(t,e,n){var r=0;for(t=n?u(t/700):t>>1,t+=u(t/e);t>455;)t=u(t/35),r+=36;return u(r+36*t/(t+38))},_=function(t){var e=[];t=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=f(t,n++);if(i>=55296&&i<=56319&&n<r){var o=f(t,n++);56320==(64512&o)?p(e,((1023&i)<<10)+(1023&o)+65536):(p(e,i),n--)}else p(e,i)}return e}(t);var n,r,o=t.length,a=128,l=0,m=72;for(n=0;n<t.length;n++)(r=t[n])<128&&p(e,h(r));var g=e.length,v=g;for(g&&p(e,"-");v<o;){var _=i;for(n=0;n<t.length;n++)(r=t[n])>=a&&r<_&&(_=r);var x=v+1;
2if(_-a>u((i-l)/x))throw new c(s);for(l+=(_-a)*x,a=_,n=0;n<t.length;n++){if((r=t[n])<a&&++l>i)throw new c(s);if(r===a){for(var w=l,S=36;;){var E=S<=m?1:S>=m+26?26:S-m;if(w<E)break;var k=w-E,C=36-E;p(e,h(y(E+k%C))),w=u(k/C),S+=36}p(e,h(y(w))),m=b(l,x,v===g),l=0,v++}}l++,a++}return d(e,"")};t.exports=function(t){var e,n,r=[],i=g(m(v(t),a,"."),".");for(e=0;e<i.length;e++)n=i[e],p(r,l(o,n)?"xn--"+_(n):n);return d(r,".")}},6099:(t,e,n)=>{"use strict";var r=n(2140),i=n(6840),o=n(3179);r||i(Object.prototype,"toString",o,{unsafe:!0})},6119:(t,e,n)=>{"use strict";var r=n(5745),i=n(3392),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},6167:(t,e,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9306),a=n(6043),s=n(1103),c=n(2652);r({target:"Promise",stat:!0,forced:n(537)},{allSettled:function(t){var e=this,n=a.f(e),r=n.resolve,l=n.reject,u=s(function(){var n=o(e.resolve),a=[],s=0,l=1;c(t,function(t){var o=s++,c=!1;l++,i(n,e,t).then(function(t){c||(c=!0,a[o]={status:"fulfilled",value:t},--l||r(a))},function(t){c||(c=!0,a[o]={status:"rejected",reason:t},--l||r(a))})}),--l||r(a)});return u.error&&l(u.value),n.promise}})},6193:(t,e,n)=>{"use strict";var r=n(9504),i=Error,o=r("".replace),a=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);t.exports=function(t,e){if(c&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=o(t,s,"");return t}},6198:(t,e,n)=>{"use strict";var r=n(8014);t.exports=function(t){return r(t.length)}},6249:(t,e,n)=>{"use strict";var r=n(9039),i=n(6980);t.exports=!r(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)})},6269:t=>{"use strict";t.exports={}},6279:(t,e,n)=>{"use strict";var r=n(6840);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},6319:(t,e,n)=>{"use strict";var r=n(8551),i=n(9539);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},6395:t=>{"use strict";t.exports=!1},6398:(t,e,n)=>{"use strict";n(67),n(3792),n(6099),n(3362),n(6167),n(3518),n(4628),n(9391),n(7764);var r=n(9167);t.exports=r.Promise},6412:(t,e,n)=>{"use strict";n(511)("asyncIterator")},6449:(t,e,n)=>{"use strict";var r=n(6518),i=n(259),o=n(8981),a=n(6198),s=n(1291),c=n(1469);r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),n=a(e),r=c(e,0);return r.length=i(r,e,e,n,0,void 0===t?1:s(t)),r}})},6468:(t,e,n)=>{"use strict";var r=n(6518),i=n(4475),o=n(9504),a=n(2796),s=n(6840),c=n(5832),l=n(2652),u=n(679),h=n(4901),f=n(4117),d=n(34),p=n(9039),m=n(4428),g=n(687),v=n(3167);t.exports=function(t,e,n){var y=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),_=y?"set":"add",x=i[t],w=x&&x.prototype,S=x,E={},k=function(t){var e=o(w[t]);s(w,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!d(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(a(t,!h(x)||!(b||w.forEach&&!p(function(){(new x).entries().next()}))))S=n.getConstructor(e,t,y,_),c.enable();else if(a(t,!0)){var C=new S,O=C[_](b?{}:-0,1)!==C,A=p(function(){C.has(1)}),T=m(function(t){new x(t)}),L=!b&&p(function(){for(var t=new x,e=5;e--;)t[_](e,e);return!t.has(-0)});T||((S=e(function(t,e){u(t,w);var n=v(new x,t,S);return f(e)||l(e,n[_],{that:n,AS_ENTRIES:y}),n})).prototype=w,w.constructor=S),(A||L)&&(k("delete"),k("has"),y&&k("get")),(L||O)&&k(_),b&&w.clear&&delete w.clear}return E[t]=S,r({global:!0,constructor:!0,forced:S!==x},E),g(S,t),b||n.setStrong(S,t,y),S}},6469:(t,e,n)=>{"use strict";var r=n(8227),i=n(2360),o=n(4913).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},6499:(t,e,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9306),a=n(6043),s=n(1103),c=n(2652);r({target:"Promise",stat:!0,forced:n(537)},{all:function(t){var e=this,n=a.f(e),r=n.resolve,l=n.reject,u=s(function(){var n=o(e.resolve),a=[],s=0,u=1;c(t,function(t){var o=s++,c=!1;u++,i(n,e,t).then(function(t){c||(c=!0,a[o]=t,--u||r(a))},l)}),--u||r(a)});return u.error&&l(u.value),n.promise}})},6518:(t,e,n)=>{"use strict";var r=n(4475),i=n(7347).f,o=n(6699),a=n(6840),s=n(9433),c=n(7740),l=n(2796);t.exports=function(t,e){var n,u,h,f,d,p=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[p]||s(p,{}):r[p]&&r[p].prototype)for(u in e){if(f=e[u],h=t.dontCallGetSet?(d=i(n,u))&&d.value:n[u],!l(m?u:p+(g?".":"#")+u,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),a(n,u,f,t)}}},6682:(t,e,n)=>{"use strict";var r=n(9565),i=n(8551),o=n(4901),a=n(4576),s=n(7323),c=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var l=r(n,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return r(s,t,e);throw new c("RegExp#exec called on incompatible receiver")}},6699:(t,e,n)=>{"use strict";var r=n(3724),i=n(4913),o=n(6980);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},6706:(t,e,n)=>{"use strict";var r=n(9504),i=n(9306);t.exports=function(t,e,n){try{return r(i(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},6761:(t,e,n)=>{"use strict";var r=n(6518),i=n(4475),o=n(9565),a=n(9504),s=n(6395),c=n(3724),l=n(4495),u=n(9039),h=n(9297),f=n(1625),d=n(8551),p=n(5397),m=n(6969),g=n(655),v=n(6980),y=n(2360),b=n(1072),_=n(8480),x=n(298),w=n(3717),S=n(7347),E=n(4913),k=n(6801),C=n(8773),O=n(6840),A=n(2106),T=n(5745),L=n(6119),P=n(421),M=n(3392),j=n(8227),D=n(1951),I=n(511),R=n(8242),N=n(687),F=n(1181),B=n(9213).forEach,z=L("hidden"),H="Symbol",V="prototype",q=F.set,W=F.getterFor(H),U=Object[V],G=i.Symbol,$=G&&G[V],Y=i.RangeError,K=i.TypeError,X=i.QObject,Z=S.f,J=E.f,Q=x.f,tt=C.f,et=a([].push),nt=T("symbols"),rt=T("op-symbol
2s"),it=T("wks"),ot=!X||!X[V]||!X[V].findChild,at=function(t,e,n){var r=Z(U,e);r&&delete U[e],J(t,e,n),r&&t!==U&&J(U,e,r)},st=c&&u(function(){return 7!==y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a})?at:J,ct=function(t,e){var n=nt[t]=y($);return q(n,{type:H,tag:t,description:e}),c||(n.description=e),n},lt=function(t,e,n){t===U&&lt(rt,e,n),d(t);var r=m(e);return d(n),h(nt,r)?(n.enumerable?(h(t,z)&&t[z][r]&&(t[z][r]=!1),n=y(n,{enumerable:v(0,!1)})):(h(t,z)||J(t,z,v(1,y(null))),t[z][r]=!0),st(t,r,n)):J(t,r,n)},ut=function(t,e){d(t);var n=p(e),r=b(n).concat(pt(n));return B(r,function(e){c&&!o(ht,n,e)||lt(t,e,n[e])}),t},ht=function(t){var e=m(t),n=o(tt,this,e);return!(this===U&&h(nt,e)&&!h(rt,e))&&(!(n||!h(this,e)||!h(nt,e)||h(this,z)&&this[z][e])||n)},ft=function(t,e){var n=p(t),r=m(e);if(n!==U||!h(nt,r)||h(rt,r)){var i=Z(n,r);return!i||!h(nt,r)||h(n,z)&&n[z][r]||(i.enumerable=!0),i}},dt=function(t){var e=Q(p(t)),n=[];return B(e,function(t){h(nt,t)||h(P,t)||et(n,t)}),n},pt=function(t){var e=t===U,n=Q(e?rt:p(t)),r=[];return B(n,function(t){!h(nt,t)||e&&!h(U,t)||et(r,nt[t])}),r};l||(O($=(G=function(){if(f($,this))throw new K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=M(t),n=function(t){var r=void 0===this?i:this;r===U&&o(n,rt,t),h(r,z)&&h(r[z],e)&&(r[z][e]=!1);var a=v(1,t);try{st(r,e,a)}catch(t){if(!(t instanceof Y))throw t;at(r,e,a)}};return c&&ot&&st(U,e,{configurable:!0,set:n}),ct(e,t)})[V],"toString",function(){return W(this).tag}),O(G,"withoutSetter",function(t){return ct(M(t),t)}),C.f=ht,E.f=lt,k.f=ut,S.f=ft,_.f=x.f=dt,w.f=pt,D.f=function(t){return ct(j(t),t)},c&&(A($,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(U,"propertyIsEnumerable",ht,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),B(b(it),function(t){I(t)}),r({target:H,stat:!0,forced:!l},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!c},{create:function(t,e){return void 0===e?y(t):ut(y(t),e)},defineProperty:lt,defineProperties:ut,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:dt}),R(),N(G,H),P[z]=!0},6763:t=>{"use strict";t.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},6765:(t,e,n)=>{"use strict";var r=n(9392);t.exports=/web0s(?!.*chrome)/i.test(r)},6801:(t,e,n)=>{"use strict";var r=n(3724),i=n(8686),o=n(4913),a=n(8551),s=n(5397),c=n(1072);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=c(e),l=i.length,u=0;l>u;)o.f(t,n=i[u++],r[n]);return t}},6811:(t,e,n)=>{"use strict";n(8408),n(4603),n(7566),n(8721);var r=n(9167);t.exports=r.URLSearchParams},6823:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6835:(t,e,n)=>{"use strict";var r=n(6518),i=n(7029),o=n(6469);r({target:"Array",proto:!0},{copyWithin:i}),o("copyWithin")},6837:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},6840:(t,e,n)=>{"use strict";var r=n(4901),i=n(4913),o=n(283),a=n(9433);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:e;if(r(n)&&o(n,l,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},6879:t=>{!function(e){var n=function(t,e,n){"use strict";var r,i;if(function(){var e,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in i=t.lazySizesConfig||t.lazysizesConfig||{},n)e in i||(i[e]=n[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:i,noSupport:!0};var o,a,s,c,l,u,h,f,d,p,m,g,v,y,b,_,x,w,S,E,k,C,O,A,T,L,P,M,j,D,I,R,N,F,B,z,H,V,q,W,U,G,$,Y,K=e.documentElement,X=t.HTMLPictureElement,Z="addEventListener",J="getAttribute",Q=t[Z].bind(t),tt=t.setTimeout,et=t.requestAnimationFrame||tt,nt=t.requestIdleCallback,rt=/^picture$/i,it=["load","error","lazyincluded","_lazyloaded"],ot={},at=Array.prototype.forEach,st=function(t,e){return ot[e]||(ot[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),ot[e].test(t[J]("class")||"")&&ot[e]},ct=function(t,e){st(t,e)||t.setAttribute("class",(t[J]("class")||"").trim()+" "+e)},lt=function(t,e){var n;(n=st(t,e))&&t.setAttribute("class",(t[J]("class")||"").replace(n," "))},ut=function(t,e,n){var r=n?Z:"removeEventListener";n&&ut(t,e),it.forEach(function(n){t[r](n,e)})},ht=function(t,n,i,o,a){var s=e.createEvent("Event");
2return i||(i={}),i.instance=r,s.initEvent(n,!o,!a),s.detail=i,t.dispatchEvent(s),s},ft=function(e,n){var r;!X&&(r=t.picturefill||i.pf)?(n&&n.src&&!e[J]("srcset")&&e.setAttribute("srcset",n.src),r({reevaluate:!0,elements:[e]})):n&&n.src&&(e.src=n.src)},dt=function(t,e){return(getComputedStyle(t,null)||{})[e]},pt=function(t,e,n){for(n=n||t.offsetWidth;n<i.minSize&&e&&!t._lazysizesWidth;)n=e.offsetWidth,e=e.parentNode;return n},mt=(U=[],G=W=[],Y=function(t,n){V&&!n?t.apply(this,arguments):(G.push(t),q||(q=!0,(e.hidden?tt:et)($)))},Y._lsFlush=$=function(){var t=G;for(G=W.length?U:W,V=!0,q=!1;t.length;)t.shift()();V=!1},Y),gt=function(t,e){return e?function(){mt(t)}:function(){var e=this,n=arguments;mt(function(){t.apply(e,n)})}},vt=function(t){var e,r,i=function(){e=null,t()},o=function(){var t=n.now()-r;t<99?tt(o,99-t):(nt||i)(i)};return function(){r=n.now(),e||(e=tt(o,99))}},yt=(x=/^img$/i,w=/^iframe$/i,S="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),E=0,k=0,C=-1,O=function(t){k--,(!t||k<0||!t.target)&&(k=0)},A=function(t){return null==_&&(_="hidden"==dt(e.body,"visibility")),_||!("hidden"==dt(t.parentNode,"visibility")&&"hidden"==dt(t,"visibility"))},T=function(t,n){var r,i=t,o=A(t);for(g-=n,b+=n,v-=n,y+=n;o&&(i=i.offsetParent)&&i!=e.body&&i!=K;)(o=(dt(i,"opacity")||1)>0)&&"visible"!=dt(i,"overflow")&&(r=i.getBoundingClientRect(),o=y>r.left&&v<r.right&&b>r.top-1&&g<r.bottom+1);return o},P=function(t){var e,r=0,o=i.throttleDelay,a=i.ricTimeout,s=function(){e=!1,r=n.now(),t()},c=nt&&a>49?function(){nt(s,{timeout:a}),a!==i.ricTimeout&&(a=i.ricTimeout)}:gt(function(){tt(s)},!0);return function(t){var i;(t=!0===t)&&(a=33),e||(e=!0,(i=o-(n.now()-r))<0&&(i=0),t||i<9?c():tt(c,i))}}(L=function(){var t,n,o,a,s,c,h,d,x,w,O,L,P=r.elements;if((f=i.loadMode)&&k<8&&(t=P.length)){for(n=0,C++;n<t;n++)if(P[n]&&!P[n]._lazyRace)if(!S||r.prematureUnveil&&r.prematureUnveil(P[n]))F(P[n]);else if((d=P[n][J]("data-expand"))&&(c=1*d)||(c=E),w||(w=!i.expand||i.expand<1?K.clientHeight>500&&K.clientWidth>500?500:370:i.expand,r._defEx=w,O=w*i.expFactor,L=i.hFac,_=null,E<O&&k<1&&C>2&&f>2&&!e.hidden?(E=O,C=0):E=f>1&&C>1&&k<6?w:0),x!==c&&(p=innerWidth+c*L,m=innerHeight+c,h=-1*c,x=c),o=P[n].getBoundingClientRect(),(b=o.bottom)>=h&&(g=o.top)<=m&&(y=o.right)>=h*L&&(v=o.left)<=p&&(b||y||v||g)&&(i.loadHidden||A(P[n]))&&(u&&k<3&&!d&&(f<3||C<4)||T(P[n],c))){if(F(P[n]),s=!0,k>9)break}else!s&&u&&!a&&k<4&&C<4&&f>2&&(l[0]||i.preloadAfterLoad)&&(l[0]||!d&&(b||y||v||g||"auto"!=P[n][J](i.sizesAttr)))&&(a=l[0]||P[n]);a&&!s&&F(a)}}),j=gt(M=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(O(t),ct(e,i.loadedClass),lt(e,i.loadingClass),ut(e,D),ht(e,"lazyloaded"))}),D=function(t){j({target:t.target})},I=function(t,e){var n=t.getAttribute("data-load-mode")||i.iframeLoadMode;0==n?t.contentWindow.location.replace(e):1==n&&(t.src=e)},R=function(t){var e,n=t[J](i.srcsetAttr);(e=i.customMedia[t[J]("data-media")||t[J]("media")])&&t.setAttribute("media",e),n&&t.setAttribute("srcset",n)},N=gt(function(t,e,n,r,o){var a,s,c,l,u,f;(u=ht(t,"lazybeforeunveil",e)).defaultPrevented||(r&&(n?ct(t,i.autosizesClass):t.setAttribute("sizes",r)),s=t[J](i.srcsetAttr),a=t[J](i.srcAttr),o&&(l=(c=t.parentNode)&&rt.test(c.nodeName||"")),f=e.firesLoad||"src"in t&&(s||a||l),u={target:t},ct(t,i.loadingClass),f&&(clearTimeout(h),h=tt(O,2500),ut(t,D,!0)),l&&at.call(c.getElementsByTagName("source"),R),s?t.setAttribute("srcset",s):a&&!l&&(w.test(t.nodeName)?I(t,a):t.src=a),o&&(s||l)&&ft(t,{src:a})),t._lazyRace&&delete t._lazyRace,lt(t,i.lazyClass),mt(function(){var e=t.complete&&t.naturalWidth>1;f&&!e||(e&&ct(t,i.fastLoadedClass),M(u),t._lazyCache=!0,tt(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&k--},!0)}),F=function(t){if(!t._lazyRace){var e,n=x.test(t.nodeName),r=n&&(t[J](i.sizesAttr)||t[J]("sizes")),o="auto"==r;(!o&&u||!n||!t[J]("src")&&!t.srcset||t.complete||st(t,i.errorClass)||!st(t,i.lazyClass))&&(e=ht(t,"lazyunveilread").detail,o&&bt.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,k++,N(t,e,o,r,n))}},B=vt(function(){i.loadMode=3,P()}),H=function(){u||(n.now()-d<999?tt(H,999):(u=!0,i.loadMode=3,P(),Q("scroll",z,!0)))},{_:function(){d=n.now(),r.elements=e.getElementsByClassName(i.lazyClass),l=e.getElementsByClassName(i.lazyClass+" "+i.preloadClass),Q("scroll",P,!0),Q("resize",P,!0),Q("pageshow",function(t){if(t.persisted){var n=e.querySelectorAll("."+i.loadingClass);
2n.length&&n.forEach&&et(function(){n.forEach(function(t){t.complete&&F(t)})})}}),t.MutationObserver?new MutationObserver(P).observe(K,{childList:!0,subtree:!0,attributes:!0}):(K[Z]("DOMNodeInserted",P,!0),K[Z]("DOMAttrModified",P,!0),setInterval(P,999)),Q("hashchange",P,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){e[Z](t,P,!0)}),/d$|^c/.test(e.readyState)?H():(Q("load",H),e[Z]("DOMContentLoaded",P),tt(H,2e4)),r.elements.length?(L(),mt._lsFlush()):P()},checkElems:P,unveil:F,_aLSL:z=function(){3==i.loadMode&&(i.loadMode=2),B()}}),bt=(a=gt(function(t,e,n,r){var i,o,a;if(t._lazysizesWidth=r,r+="px",t.setAttribute("sizes",r),rt.test(e.nodeName||""))for(o=0,a=(i=e.getElementsByTagName("source")).length;o<a;o++)i[o].setAttribute("sizes",r);n.detail.dataAttr||ft(t,n.detail)}),s=function(t,e,n){var r,i=t.parentNode;i&&(n=pt(t,i,n),(r=ht(t,"lazybeforesizes",{width:n,dataAttr:!!e})).defaultPrevented||(n=r.detail.width)&&n!==t._lazysizesWidth&&a(t,i,r,n))},{_:function(){o=e.getElementsByClassName(i.autosizesClass),Q("resize",c)},checkElems:c=vt(function(){var t,e=o.length;if(e)for(t=0;t<e;t++)s(o[t])}),updateElem:s}),_t=function(){!_t.i&&e.getElementsByClassName&&(_t.i=!0,bt._(),yt._())};return tt(function(){i.init&&_t()}),r={cfg:i,autoSizer:bt,loader:yt,init:_t,uP:ft,aC:ct,rC:lt,hC:st,fire:ht,gW:pt,rAF:mt}}(e,e.document,Date);e.lazySizes=n,t.exports&&(t.exports=n)}("undefined"!=typeof window?window:{})},6910:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(9306),a=n(8981),s=n(6198),c=n(4606),l=n(655),u=n(9039),h=n(4488),f=n(4598),d=n(8834),p=n(3202),m=n(7388),g=n(9160),v=[],y=i(v.sort),b=i(v.push),_=u(function(){v.sort(void 0)}),x=u(function(){v.sort(null)}),w=f("sort"),S=!u(function(){if(m)return m<70;if(!(d&&d>3)){if(p)return!0;if(g)return g<603;var t,e,n,r,i="";for(t=65;t<76;
2t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:e+r,v:n})}for(v.sort(function(t,e){return e.v-t.v}),r=0;r<v.length;r++)e=v[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}});r({target:"Array",proto:!0,forced:_||!x||!w||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?y(e):y(e,t);var n,r,i=[],u=s(e);for(r=0;r<u;r++)r in e&&b(i,e[r]);for(h(i,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:l(e)>l(n)?1:-1}}(t)),n=s(i),r=0;r<n;)e[r]=i[r++];for(;r<u;)c(e,r++);return e}})},6933:(t,e,n)=>{"use strict";var r=n(9504),i=n(4376),o=n(4901),a=n(4576),s=n(655),c=r([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,n=[],r=0;r<e;r++){var l=t[r];"string"==typeof l?c(n,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||c(n,s(l))}var u=n.length,h=!0;return function(t,e){if(h)return h=!1,e;if(i(this))return e;for(var r=0;r<u;r++)if(n[r]===t)return e}}}},6938:(t,e,n)=>{"use strict";var r=n(2360),i=n(2106),o=n(6279),a=n(6080),s=n(679),c=n(4117),l=n(2652),u=n(1088),h=n(2529),f=n(7633),d=n(3724),p=n(5832).fastKey,m=n(1181),g=m.set,v=m.getterFor;t.exports={getConstructor:function(t,e,n,u){var h=t(function(t,i){s(t,f),g(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),d||(t.size=0),c(i)||l(i,t[u],{that:t,AS_ENTRIES:n})}),f=h.prototype,m=v(e),y=function(t,e,n){var r,i,o=m(t),a=b(t,e);return a?a.value=n:(o.last=a={index:i=p(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},b=function(t,e){var n,r=m(t),i=p(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key===e)return n};return o(f,{clear:function(){for(var t=m(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=r(null),d?t.size=0:this.size=0},delete:function(t){var e=this,n=m(e),r=b(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===r&&(n.first=i),n.last===r&&(n.last=o),d?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=m(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),o(f,n?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),d&&i(f,"size",{configurable:!0,get:function(){return m(this).size}}),h},setStrong:function(t,e,n){var r=e+" Iterator",i=v(e),o=v(r);u(t,e,function(t,e){g(this,{type:r,target:t,state:i(t),kind:e,last:void 0})},function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?h("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=void 0,h(void 0,!0))},n?"entries":"values",!n,!0),f(e)}}},6955:(t,e,n)=>{"use strict";var r=n(2140),i=n(4901),o=n(4576),a=n(8227)("toStringTag"),s=Object,c="Arguments"===o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:c?o(e):"Object"===(r=o(e))&&i(e.callee)?"Arguments":r}},6964:(t,e,n)=>{"use strict";n(511)("match")},6969:(t,e,n)=>{"use strict";var r=n(2777),i=n(757);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},6980:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7015:(t,e,n)=>{"use strict";var r=n(4475),i=n(9504);t.exports=function(t,e){return i(r[t].prototype[e])}},7029:(t,e,n)=>{"use strict";var r=n(8981),i=n(5610),o=n(6198),a=n(4606),s=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=o(n),l=i(t,c),u=i(e,c),h=arguments.length>2?arguments[2]:void 0,f=s((void 0===h?c:i(h,c))-u,c-l),d=1;for(u<l&&l<u+f&&(d=-1,u+=f-1,l+=f-1);f-- >0;)u in n?n[l]=n[u]:a(n,l),l+=d,u+=d;return n}},7040:(t,e,n)=>{"use strict";var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(t,e,n)=>{"use strict";var r=n(9504),i=n(9039),o=n(4576),a=Object,s=r("".split);t.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===o(t)?s(t,""):a(t)}:a},7145:(t,e,n)=>{"use strict";var r=n(6518),i=n(1625),o=n(2787),a=n(2967),s=n(7740),c=n(2360),l=n(6699),u=n(6980),h=n(7584),f=n(747),d=n(2652),p=n(2603),m=n(8227)("toStringTag"),g=Error,v=[].push,y=function(t,e){var n,r=i(b,this);a?n=a(new g,r?o(this):b):(n=r?this:c(b),l(n,m,"Error")),void 0!==e&&l(n,"message",p(e)),f(n,y,n.stack,1),arguments.length>2&&h(n,arguments[2]);var s=[];return d(t,v,{that:s}),l(n,"errors",s),n};a?a(y,g):s(y,g,{name:!0});var b=y.prototype=c(g.prototype,{constructor:u(1,y),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:y})},7208:(t,e,n)=>{"use strict";var r=n(6518),i=n(9565);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},7240:(t,e,n)=>{"use strict";var r=n(9504),i=n(7750),o=n(655),a=/"/g,s=r("".replace);t.exports=function(t,e,n,r){var c=o(i(t)),l="<"+e;return""!==n&&(l+=" "+n+'="'+s(o(r),a,"&quot;")+'"'),l+">"+c+"</"+e+">"}},7290:(t,e,n)=>{"use strict";var r=n(516),i=n(9088);t.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},7323:(t,e,n)=>{"use strict";var r,i,o=n(9565),a=n(9504),s=n(655),c=n(7979),l=n(8429),u=n(5745),h=n(2360),f=n(1181).get,d=n(3635),p=n(8814),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=a("".charAt),b=a("".indexOf),_=a("".replace),x=a("".slice),w=(i=/b*/g,o(g,r=/a/,"a"),o(g,i,"a"),0!==r.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(w||E||S||d||p)&&(v=function(t){var e,n,r,i,a,l,u,d=this,p=f(d),k=s(t),C=p.raw;if(C)return C.lastIndex=d.lastIndex,e=o(v,C,k),d.lastIndex=C.lastIndex,e;var O=p.groups,A=S&&d.sticky,T=o(c,d),L=d.source,P=0,M=k;if(A&&(T=_(T,"y",""),-1===b(T,"g")&&(T+="g"),M=x(k,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==y(k,d.lastIndex-1))&&(L="(?: "+L+")",M=" "+M,P++),n=new RegExp("^(?:"+L+")",T)),E&&(n=new RegExp("^"+L+"$(?!\\s)",T)),w&&(r=d.lastIndex),i=o(g,A?n:d,M),A?i?(i.input=x(i.input,P),i[0]=x(i[0],P),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),E&&i&&i.length>1&&o(m,i[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i&&O)for(i.groups=l=h(null),a=0;a<O.length;a++)l[(u=O[a])[0]]=i[u[1]];return i}),t.exports=v},7347:(t,e,n)=>{"use strict";var r=n(3724),i=n(9565),o=n(8773),a=n(6980),s=n(5397),c=n(6969),l=n(9297),u=n(5917),h=Object.getOwnPropertyDescriptor;e.f=r?h:function(t,e){if(t=s(t),e=c(e),u)try{return h(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},7388:(t,e,n)=>{"use strict";var r,i,o=n(4475),a=n(9392),s=o.process,c=o.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u&&(i=(r=u.split("."))[0]>
20&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},7400:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7416:(t,e,n)=>{"use strict";var r=n(9039),i=n(8227),o=n(3724),a=n(6395),s=i("iterator");t.exports=!r(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return t.pathname="c%20d",e.forEach(function(t,n){e.delete("b"),r+=n+t}),n.delete("a",2),n.delete("b",void 0),a&&(!t.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!e.size&&(a||!o)||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})},7427:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(2551),a=n(9306),s=n(8981),c=n(4913);i&&r({target:"Object",proto:!0,forced:o},{__defineGetter__:function(t,e){c.f(s(this),t,{get:a(e),enumerable:!0,configurable:!0})}})},7433:(t,e,n)=>{"use strict";var r=n(4376),i=n(3517),o=n(34),a=n(8227)("species"),s=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(i(e)&&(e===s||r(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},7452:t=>{var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),s=new L(r||[]);return i(a,"_invoke",{value:C(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",m="completed",g={};function v(){}function y(){}function b(){}var _={};l(_,a,function(){return this});var x=Object.getPrototypeOf,w=x&&x(x(P([])));w&&w!==n&&r.call(w,a)&&(_=w);var S=b.prototype=v.prototype=Object.create(_);function E(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function n(i,o,a,s){var c=h(t[i],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(u).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,s)})}s(c.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e(function(e,i){n(t,r,e,i)})}return o=o?o.then(i,i):i()}})}function C(t,n,r){var i=f;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=O(s,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?m:d,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=m,r.method="throw",r.arg=l.arg)}}}function O(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&
2(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function P(t){if(null!=t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},E(k.prototype),l(k.prototype,s,function(){return this}),t.AsyncIterator=k,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new k(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},E(S),l(S,c,"Generator"),l(S,a,function(){return this}),l(S,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=P,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},7476:(t,e,n)=>{"use strict";var r=n(4576),i=n(9504);t.exports=function(t){if("Function"===r(t))return i(t)}},7478:(t,e,n)=>{"use strict";n(7633)("Array")},7495:(t,e,n)=>{"use strict";var r=n(6518),i=n(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},7566:(t,e,n)=>{"use strict";var r=n(6840),i=n(9504),o=n(655),a=n(431),s=URLSearchParams,c=s.prototype,l=i(c.getAll),u=i(c.has),h=new s("a=1");!h.has("a",2)&&h.has("a",void 0)||r(c,"has",function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return u(this,t);var r=l(this,t);a(e,1);for(var i=o(n),s=0;s<r.length;)if(r[s++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},7584:(t,e,n)=>{"use strict";var r=n(34),i=n(6699);t.exports=function(t,e){r(e)&&"cause"in e&&i(t,"cause",e.cause)}},7607:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(2551),a=n(9306),s=n(8981),c=n(4913);i&&r({target:"Object",proto:!0,forced:o},{__defineSetter__:function(t,e){c.f(s(this),t,{set:a(e),enumerable:!0,configurable:!0})}})},7628:(t,e,n)=>{"use strict";var r=n(6198);t.exports=function(t,e){for(var n=r(t),i=new e(n),o=0;o<n;o++)i[o]=t[n-o-1];return i}},7629:(t,e,n)=>{"use strict";var r=n(4475),i=n(9433),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},7633:(t,e,n)=>{"use strict";var r=n(7751),i=n(2106),o=n(8227),a=n(3724),s=o("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},7657:(t,e,n)=>{"use strict";var r,i,o,a=n(9039),s=n(4901),c=n(34),l=n(2360),u=n(2787),h=n(6840),f=n(8227),d=n(6395),p=f("iterator"),m=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(r=i):m=!0),!c(r)||a(function(){var t={};return r[p].call(t)!==t})?r={}:d&&(r=l(r)),s(r[p])||h(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},7680:(t,e,n)=>{"use strict";var r=n(9504);t.exports=r([].slice)},7691:(t,e,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(9504),a=n(9306),s=n(7750),c=n(6969),l=n(2652),u=i("Object","create"),h=o([].push);r({target:"Object",stat:!0},{groupBy:function(t,e){s(t),a(e);var n=u(null),r=0;return l(t,function(t){var i=c(e(t,r++));i in n?h(n[i],t):n[i]=[t]}),n}})},7740:(t,e,n)=>{"use strict";var r=n(9297),i=n(5031),o=n(7347),a=n(4913);t.exports=function(t,e,n){for(var s=i(e),c=a.f,l=o.f,u=0;u<s.length;u++){var h=s[u];r(t,h)||n&&r(n,h)||c(t,h,l(e,h))}}},7743:(t,e,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9306),a=n(6043),s=n(1103),c=n(2652);r({target:"Promise",stat:!0,forced:n(537)},{race:function(t){var e=this,n=a.f(e),r=n.reject,l=s(function(){var a=o(e.resolve);c(t,function(t){i(a,e,t).then(n.resolve,r)})});return l.error&&r(l.value),n.promise}})},7750:(t,e,n)=>{"use strict";var r=n(4117),i=TypeError;t.exports=function(t){if(r(t))throw new i("Can't call method on "+t);return t}},7751:(t,e,n)=>{"use strict";var r=n(4475),i=n(4901);t.exports=function(t,e){return arguments.length<2?(n=r[t],i(n)?n:void 0):r[t]&&r[t][e];var n}},7764:(t,e,n)=>{"use strict";var r=n(8183).charAt,i=n(655),o=n(1181),a=n(1088),s=n(2529),c="String Iterator",l=o.set,u=o.getterFor(c);a(String,"String",function(t){l(this,{type:c,string:i(t),index:0})},function(){var t,e=u(this),n=e.string,i=e.index;return i>=n.length?s(void 0,!0):(t=r(n,i),e.index+=t.length,s(t,!1))})},7812:(t,e,n)=>{"use strict";var r=n(6518),i=n(9297),o=n(757),a=n(6823),s=n(5745),c=n(1296),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c}
2,{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},7829:(t,e,n)=>{"use strict";var r=n(8183).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},7904:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(2551),a=n(8981),s=n(6969),c=n(2787),l=n(7347).f;i&&r({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(t){var e,n=a(this),r=s(t);do{if(e=l(n,r))return e.set}while(n=c(n))}})},7916:(t,e,n)=>{"use strict";var r=n(6080),i=n(9565),o=n(8981),a=n(6319),s=n(4209),c=n(3517),l=n(6198),u=n(4659),h=n(81),f=n(851),d=Array;t.exports=function(t){var e=o(t),n=c(this),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,p>2?arguments[2]:void 0));var v,y,b,_,x,w,S=f(e),E=0;if(!S||this===d&&s(S))for(v=l(e),y=n?new this(v):d(v);v>E;E++)w=g?m(e[E],E):e[E],u(y,E,w);else for(x=(_=h(e,S)).next,y=n?new this:[];!(b=i(x,_)).done;E++)w=g?a(_,m,[b.value,E],!0):b.value,u(y,E,w);return y.length=E,y}},7945:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!i},{defineProperties:o})},7947:(t,e,n)=>{"use strict";n(511)("species")},7979:(t,e,n)=>{"use strict";var r=n(8551);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},8014:(t,e,n)=>{"use strict";var r=n(1291),i=Math.min;t.exports=function(t){var e=r(t);return e>0?i(e,9007199254740991):0}},8107:(t,e,n)=>{"use strict";var r=n(6518),i=n(8981),o=n(6198),a=n(1291),s=n(6469);r({target:"Array",proto:!0},{at:function(t){var e=i(this),n=o(e),r=a(t),s=r>=0?r:n+r;return s<0||s>=n?void 0:e[s]}}),s("at")},8119:(t,e,n)=>{"use strict";var r=n(9392);
2t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},8125:(t,e,n)=>{"use strict";var r=n(7751),i=n(511),o=n(687);i("toStringTag"),o(r("Symbol"),"Symbol")},8183:(t,e,n)=>{"use strict";var r=n(9504),i=n(1291),o=n(655),a=n(7750),s=r("".charAt),c=r("".charCodeAt),l=r("".slice),u=function(t){return function(e,n){var r,u,h=o(a(e)),f=i(n),d=h.length;return f<0||f>=d?t?"":void 0:(r=c(h,f))<55296||r>56319||f+1===d||(u=c(h,f+1))<56320||u>57343?t?s(h,f):r:t?l(h,f,f+2):u-56320+(r-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},8227:(t,e,n)=>{"use strict";var r=n(4475),i=n(5745),o=n(9297),a=n(3392),s=n(4495),c=n(7040),l=r.Symbol,u=i("wks"),h=c?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(u,t)||(u[t]=s&&o(l,t)?l[t]:h("Symbol."+t)),u[t]}},8242:(t,e,n)=>{"use strict";var r=n(9565),i=n(7751),o=n(8227),a=n(6840);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,function(t){return r(n,this)},{arity:1})}},8265:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},8347:(t,e,n)=>{"use strict";n(6518)({target:"Object",stat:!0},{hasOwn:n(9297)})},8350:(t,e,n)=>{"use strict";var r=n(6518),i=n(259),o=n(9306),a=n(8981),s=n(6198),c=n(1469);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=a(this),r=s(n);return o(t),(e=c(n,0)).length=i(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},8367:(t,e,n)=>{"use strict";n(6811),n(3296),n(2222),n(7208);var r=n(9167);t.exports=r.URL},8379:(t,e,n)=>{"use strict";var r=n(8745),i=n(5397),o=n(1291),a=n(6198),s=n(4598),c=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,h=s("lastIndexOf"),f=u||!h;t.exports=f?function(t){if(u)return r(l,this,arguments)||0;var e=i(this),n=a(e),s=n-1;for(arguments.length>1&&(s=c(s,o(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:l},8406:(t,e,n)=>{"use strict";n(3792);var r=n(6518),i=n(4475),o=n(3389),a=n(9565),s=n(9504),c=n(3724),l=n(7416),u=n(6840),h=n(2106),f=n(6279),d=n(687),p=n(3994),m=n(1181),g=n(679),v=n(4901),y=n(9297),b=n(6080),_=n(6955),x=n(8551),w=n(34),S=n(655),E=n(2360),k=n(6980),
vendor: 6,351 bytes, line 2
2C=n(81),O=n(851),A=n(2529),T=n(431),L=n(8227),P=n(4488),M=L("iterator"),j="URLSearchParams",D=j+"Iterator",I=m.set,R=m.getterFor(j),N=m.getterFor(D),F=o("fetch"),B=o("Request"),z=o("Headers"),H=B&&B.prototype,V=z&&z.prototype,q=i.RegExp,W=i.TypeError,U=i.decodeURIComponent,G=i.encodeURIComponent,$=s("".charAt),Y=s([].join),K=s([].push),X=s("".replace),Z=s([].shift),J=s([].splice),Q=s("".split),tt=s("".slice),et=/\+/g,nt=Array(4),rt=function(t){return nt[t-1]||(nt[t-1]=q("((?:%[\\da-f]{2}){"+t+"})","gi"))},it=function(t){try{return U(t)}catch(e){return t}},ot=function(t){var e=X(t,et," "),n=4;try{return U(e)}catch(t){for(;n;)e=X(e,rt(n--),it);return e}},at=/[!'()~]|%20/g,st={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ct=function(t){return st[t]},lt=function(t){return X(G(t),at,ct)},ut=p(function(t,e){I(this,{type:D,target:R(t).entries,index:0,kind:e})},j,function(){var t=N(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,A(void 0,!0);var r=e[n];switch(t.kind){case"keys":return A(r.key,!1);case"values":return A(r.value,!1)}return A([r.key,r.value],!1)},!0),ht=function(t){this.entries=[],this.url=null,void 0!==t&&(w(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===$(t,0)?tt(t,1):t:S(t)))};ht.prototype={type:j,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,r,i,o,s,c,l=this.entries,u=O(t);if(u)for(n=(e=C(t,u)).next;!(r=a(n,e)).done;){if(o=(i=C(x(r.value))).next,(s=a(o,i)).done||(c=a(o,i)).done||!a(o,i).done)throw new W("Expected sequence with length 2");K(l,{key:S(s.value),value:S(c.value)})}else for(var h in t)y(t,h)&&K(l,{key:h,value:S(t[h])})},parseQuery:function(t){if(t)for(var e,n,r=this.entries,i=Q(t,"&"),o=0;o<i.length;)(e=i[o++]).length&&(n=Q(e,"="),K(r,{key:ot(Z(n)),value:ot(Y(n,"="))}))},serialize:function(){for(var t,e=this.entries,n=[],r=0;r<e.length;)t=e[r++],K(n,lt(t.key)+"="+lt(t.value));return Y(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ft=function(){g(this,dt);var t=I(this,new ht(arguments.length>0?arguments[0]:void 0));c||(this.size=t.entries.length)},dt=ft.prototype;if(f(dt,{append:function(t,e){var n=R(this);T(arguments.length,2),K(n.entries,{key:S(t),value:S(e)}),c||this.length++,n.updateURL()},delete:function(t){for(var e=R(this),n=T(arguments.length,1),r=e.entries,i=S(t),o=n<2?void 0:arguments[1],a=void 0===o?o:S(o),s=0;s<r.length;){var l=r[s];if(l.key!==i||void 0!==a&&l.value!==a)s++;else if(J(r,s,1),void 0!==a)break}c||(this.size=r.length),e.updateURL()},get:function(t){var e=R(this).entries;T(arguments.length,1);for(var n=S(t),r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){var e=R(this).entries;T(arguments.length,1);for(var n=S(t),r=[],i=0;i<e.length;i++)e[i].key===n&&K(r,e[i].value);return r},has:function(t){for(var e=R(this).entries,n=T(arguments.length,1),r=S(t),i=n<2?void 0:arguments[1],o=void 0===i?i:S(i),a=0;a<e.length;){var s=e[a++];if(s.key===r&&(void 0===o||s.value===o))return!0}return!1},set:function(t,e){var n=R(this);T(arguments.length,1);for(var r,i=n.entries,o=!1,a=S(t),s=S(e),l=0;l<i.length;l++)(r=i[l]).key===a&&(o?J(i,l--,1):(o=!0,r.value=s));o||K(i,{key:a,value:s}),c||(this.size=i.length),n.updateURL()},sort:function(){var t=R(this);P(t.entries,function(t,e){return t.key>e.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,n=R(this).entries,r=b(t,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((e=n[i++]).value,e.key,this)},keys:function(){return new ut(this,"keys")},values:function(){return new ut(this,"values")},entries:function(){return new ut(this,"entries")}},{enumerable:!0}),u(dt,M,dt.entries,{name:"entries"}),u(dt,"toString",function(){return R(this).serialize()},{enumerable:!0}),c&&h(dt,"size",{get:function(){return R(this).entries.length},configurable:!0,enumerable:!0}),d(ft,j),r({global:!0,constructor:!0,forced:!l},{URLSearchParams:ft}),!l&&v(z)){var pt=s(V.has),mt=s(V.set),gt=function(t){if(w(t)){var e,n=t.body;if(_(n)===j)return e=t.headers?new z(t.headers):new z,pt(e,"content-type")||mt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(t,{body:k(0,S(n)),headers:k(0,e)})}return t};if(v(F)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return F(t,arguments.length>1?gt(arguments[1]):{})}}),v(B)){var vt=function(t){return g(this,H),new B(t,arguments.length>1?gt(arguments[1]):{})};H.constructor=vt,vt.prototype=H,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:vt})}}t.exports={URLSearchParams:ft,getState:R}},8408:(t,e,n)=>{"use strict";n(8406)},8429:(t,e,n)=>{"use strict";var r=n(9039),i=n(4475).RegExp,o=r(function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),a=o||r(function(){return!i("a","y").sticky}),s=o||r(function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")});t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},8431:(t,e,n)=>{"use strict";var r=n(6518),i=n(9213).every;r({target:"Array",proto:!0,forced:!n(4598)("every")},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},8459:(t,e,n)=>{"use strict";var r=n(6518),i=n(3904);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},8480:(t,e,n)=>{"use strict";var r=n(1828),i=n(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},8551:(t,e,n)=>{"use strict";var r=n(34),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not an object")}},8598:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(7055),a=n(5397),s=n(4598),c=i([].join);r({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return c(a(this),void 0===t?",":t)}})},8622:(t,e,n)=>{"use strict";var r=n(4475),i=n(4901),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},8686:(t,e,n)=>{"use strict";var r=n(3724),i=n(9039);t.exports=r&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8706:(t,e,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(4376),a=n(34),s=n(8981),c=n(6198),l=n(6837),u=n(4659),h=n(1469),f=n(597),d=n(8227),p=n(7388),m=d("isConcatSpreadable"),g=p>=51||!i(function(){var t=[];return t[m]=!1,t.concat()[0]!==t}),v=function(t){if(!a(t))return!1;var e=t[m];
2return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,arity:1,forced:!g||!f("concat")},{concat:function(t){var e,n,r,i,o,a=s(this),f=h(a,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(v(o=-1===e?a:arguments[e]))for(i=c(o),l(d+i),n=0;n<i;n++,d++)n in o&&u(f,d,o[n]);else l(d+1),u(f,d++,o);return f.length=d,f}})},8721:(t,e,n)=>{"use strict";var r=n(3724),i=n(9504),o=n(2106),a=URLSearchParams.prototype,s=i(a.forEach);r&&!("size"in a)&&o(a,"size",{get:function(){var t=0;return s(this,function(){t++}),t},configurable:!0,enumerable:!0})},8727:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(t,e,n)=>{"use strict";var r=n(616),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},8773:(t,e)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},8781:(t,e,n)=>{"use strict";var r=n(350).PROPER,i=n(6840),o=n(8551),a=n(655),s=n(9039),c=n(1034),l="toString",u=RegExp.prototype,h=u[l],f=s(function(){return"/a/b"!==h.call({source:"a",flags:"b"})}),d=r&&h.name!==l;(f||d)&&i(u,l,function(){var t=o(this);return"/"+a(t.source)+"/"+a(c(t))},{unsafe:!0})},8814:(t,e,n)=>{"use strict";var r=n(9039),i=n(4475).RegExp;t.exports=r(function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})},8834:(t,e,n)=>{"use strict";var r=n(9392).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},8863:(t,e,n)=>{"use strict";var r=n(6518),i=n(926).right,o=n(4598),a=n(7388);r({target:"Array",proto:!0,forced:!n(9088)&&a>79&&a<83||!o("reduceRight")},{reduceRight:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},8921:(t,e,n)=>{"use strict";var r=n(6518),i=n(8379);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},8940:(t,e,n)=>{"use strict";var r=n(6518),i=n(2703);r({global:!0,forced:parseInt!==i},{parseInt:i})},8980:(t,e,n)=>{"use strict";var r=n(6518),i=n(9213).findIndex,o=n(6469),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},8981:(t,e,n)=>{"use strict";var r=n(7750),i=Object;t.exports=function(t){return i(r(t))}},9039:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},9085:(t,e,n)=>{"use strict";var r=n(6518),i=n(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},9088:(t,e,n)=>{"use strict";var r=n(4475),i=n(4576);t.exports="process"===i(r.process)},9089:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=Date,a=i(o.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new o)}})},9160:(t,e,n)=>{"use strict";var r=n(9392).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},9167:(t,e,n)=>{"use strict";var r=n(4475);t.exports=r},9213:(t,e,n)=>{"use strict";var r=n(6080),i=n(9504),o=n(7055),a=n(8981),s=n(6198),c=n(1469),l=i([].push),u=function(t){var e=1===t,n=2===t,i=3===t,u=4===t,h=6===t,f=7===t,d=5===t||h;return function(p,m,g,v){for(var y,b,_=a(p),x=o(_),w=s(x),S=r(m,g),E=0,k=v||c,C=e?k(p,w):n||f?k(p,0):void 0;w>E;E++)if((d||E in x)&&(b=S(y=x[E],E,_),t))if(e)C[E]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:l(C,y)}else switch(t){case 4:return!1;case 7:l(C,y)}return h?-1:i||u?u:C}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9220:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(2551),a=n(8981),s=n(6969),c=n(2787),l=n(7347).f;i&&r({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(t){var e,n=a(this),r=s(t);
2do{if(e=l(n,r))return e.get}while(n=c(n))}})},9225:(t,e,n)=>{"use strict";var r,i,o,a,s=n(4475),c=n(8745),l=n(6080),u=n(4901),h=n(9297),f=n(9039),d=n(397),p=n(7680),m=n(4055),g=n(431),v=n(8119),y=n(9088),b=s.setImmediate,_=s.clearImmediate,x=s.process,w=s.Dispatch,S=s.Function,E=s.MessageChannel,k=s.String,C=0,O={},A="onreadystatechange";f(function(){r=s.location});var T=function(t){if(h(O,t)){var e=O[t];delete O[t],e()}},L=function(t){return function(){T(t)}},P=function(t){T(t.data)},M=function(t){s.postMessage(k(t),r.protocol+"//"+r.host)};b&&_||(b=function(t){g(arguments.length,1);var e=u(t)?t:S(t),n=p(arguments,1);return O[++C]=function(){c(e,void 0,n)},i(C),C},_=function(t){delete O[t]},y?i=function(t){x.nextTick(L(t))}:w&&w.now?i=function(t){w.now(L(t))}:E&&!v?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(M)?(i=M,s.addEventListener("message",P,!1)):i=A in m("script")?function(t){d.appendChild(m("script"))[A]=function(){d.removeChild(this),T(t)}}:function(t){setTimeout(L(t),0)}),t.exports={set:b,clear:_}},9228:(t,e,n)=>{"use strict";n(7495);var r=n(9565),i=n(6840),o=n(7323),a=n(9039),s=n(8227),c=n(6699),l=s("species"),u=RegExp.prototype;t.exports=function(t,e,n,h){var f=s(t),d=!a(function(){var e={};return e[f]=function(){return 7},7!==""[t](e)}),p=d&&!a(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e});if(!d||!p||n){var m=/./[f],g=e(f,""[t],function(t,e,n,i,a){var s=e.exec;return s===o||s===u.exec?d&&!a?{done:!0,value:r(m,e,n,i)}:{done:!0,value:r(t,n,e,i)}:{done:!1}});i(String.prototype,t,g[0]),i(u,f,g[1])}h&&c(u[f],"sham",!0)}},9246:(t,e,n)=>{"use strict";n(2675),n(9085),n(9904),n(4185),n(7945),n(5506),n(2811),n(3921),n(3851),n(1278),n(1480),n(875),n(7691),n(8347),n(9908),n(4052),n(4003),n(221),n(9432),n(3967),n(3548),n(3941),n(287),n(6034),n(6099),n(7427),n(7607),n(9220),n(7904),n(4731),n(479),n(5472);var r=n(9167);t.exports=r.Object},9281:(t,e,n)=>{"use strict";n(8706),n(6099),n(2675),n(6412),n(9463),n(193),n(2168),n(2259),n(6964),n(3142),n(3237),n(1833),n(7947),n(1073),n(5700),n(8125),n(326),n(4731),n(479),n(5472);var r=n(9167);t.exports=r.Symbol},9296:(t,e,n)=>{"use strict";var r=n(4055)("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},9297:(t,e,n)=>{"use strict";var r=n(9504),i=n(8981),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},9306:(t,e,n)=>{"use strict";var r=n(4901),i=n(6823),o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not a function")}},9391:(t,e,n)=>{"use strict";var r=n(6518),i=n(6395),o=n(550),a=n(9039),s=n(7751),c=n(4901),l=n(2293),u=n(3438),h=n(6840),f=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a(function(){f.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=l(this,s("Promise")),n=c(t);return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}}),!i&&c(o)){var d=s("Promise").prototype.finally;f.finally!==d&&h(f,"finally",d,{unsafe:!0})}},9392:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},9432:(t,e,n)=>{"use strict";var r=n(6518),i=n(8981),o=n(1072);r({target:"Object",stat:!0,forced:n(9039)(function(){o(1)})},{keys:function(t){return o(i(t))}})},9433:(t,e,n)=>{"use strict";var r=n(4475),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9449:(t,e,n)=>{"use strict";var r,i=n(6518),o=n(7476),a=n(7347).f,s=n(8014),c=n(655),l=n(5749),u=n(7750),h=n(1436),f=n(6395),d=o("".slice),p=Math.min,m=h("endsWith");i({target:"String",proto:!0,forced:!(!f&&!m&&(r=a(String.prototype,"endsWith"),r&&!r.writable)||m)},{endsWith:function(t){var e=c(u(this));l(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,i=void 0===n?r:p(s(n),r),o=c(t);return d(e,i-o.length,i)===o}})},9463:(t,e,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(4475),a=n(9504),s=n(9297),c=n(4901),l=n(1625),u=n(655),h=n(2106),f=n(7740),d=o.Symbol,p=d&&d.prototype;if(i&&c(d)&&(!("description"in p)||void 0!==d().description)){var m={},g=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),e=l(p,this)?new d(t):void 0===t?d():d(t);return""===t&&(m[e]=!0),e};f(g,d),g.prototype=p,p.constructor=g;var v="Symbol(description detection)"===String(d("description detection")),y=a(p.valueOf),b=a(p.toString),_=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),w=a("".slice);h(p,"description",{configurable:!0,get:function(){var t=y(this);if(s(m,t))return"";var e=b(t),n=v?w(e,7,-1):x(e,_,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},9472:(t,e,n)=>{"use strict";var r,i=n(4475),o=n(8745),a=n(4901),s=n(6763),c=n(9392),l=n(7680),u=n(431),h=i.Function,f=/MSIE .\./.test(c)||s&&((r=i.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));t.exports=function(t,e){var n=e?2:1;return f?function(r,i){var s=u(arguments.length,1)>n,c=a(r)?r:h(r),f=s?l(arguments,n):[],d=s?function(){o(c,this,f)}:c;return e?t(d,i):t(d)}:t}},9504:(t,e,n)=>{"use strict";var r=n(616),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(t){return function(){return o.apply(t,arguments)}}},9526:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(9306),a=n(5397),s=n(5370),c=n(4124),l=n(6469),u=Array,h=i(c("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(t){void 0!==t&&o(t);var e=a(this),n=s(u,e);return h(n,t)}}),l("toSorted")},9539:(t,e,n)=>{"use strict";var r=n(9565),i=n(8551),o=n(5966);t.exports=function(t,e,n){var a,s;i(t);
2try{if(!(a=o(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw n;if(s)throw a;return i(a),n}},9565:(t,e,n)=>{"use strict";var r=n(616),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},9572:(t,e,n)=>{"use strict";var r=n(9297),i=n(6840),o=n(3640),a=n(8227)("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},9617:(t,e,n)=>{"use strict";var r=n(5397),i=n(5610),o=n(6198),a=function(t){return function(e,n,a){var s,c=r(e),l=o(c),u=i(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9678:(t,e,n)=>{"use strict";var r=n(6518),i=n(7628),o=n(5397),a=n(6469),s=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(o(this),s)}}),a("toReversed")},9773:(t,e,n)=>{"use strict";var r=n(6518),i=n(4495),o=n(9039),a=n(3717),s=n(8981);r({target:"Object",stat:!0,forced:!i||o(function(){a.f(1)})},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},9868:(t,e,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(1291),a=n(1240),s=n(2333),c=n(9039),l=RangeError,u=String,h=Math.floor,f=i(s),d=i("".slice),p=i(1..toFixed),m=function(t,e,n){return 0===e?n:e%2==1?m(t,e-1,n*t):m(t*t,e/2,n)},g=function(t,e,n){for(var r=-1,i=n;++r<6;)i+=e*t[r],t[r]=i%1e7,i=h(i/1e7)},v=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=h(r/e),r=r%e*1e7},y=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=u(t[e]);n=""===n?r:n+f("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:c(function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)})||!c(function(){p({})})},{toFixed:function(t){var e,n,r,i,s=a(this),c=o(t),h=[0,0,0,0,0,0],p="",b="0";if(c<0||c>20)throw new l("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return u(s);if(s<0&&(p="-",s=-s),s>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(s*m(2,69,1))-69)<0?s*m(2,-e,1):s/m(2,e,1),n*=4503599627370496,(e=52-e)>0){for(g(h,0,n),r=c;r>=7;)g(h,1e7,0),r-=7;for(g(h,m(10,r,1),0),r=e-1;r>=23;)v(h,1<<23),r-=23;v(h,1<<r),g(h,1,1),v(h,2),b=y(h)}else g(h,0,n),g(h,1<<-e,0),b=y(h)+f("0",c);return c>0?p+((i=b.length)<=c?"0."+f("0",c-i)+b:d(b,0,i-c)+"."+d(b,i-c)):p+b}})},9904:(t,e,n)=>{"use strict";n(6518)({target:"Object",stat:!0,sham:!n(3724)},{create:n(2360)})},9908:(t,e,n)=>{"use strict";n(6518)({target:"Object",stat:!0},{is:n(3470)})},9928:(t,e,n)=>{"use strict";var r=n(6198),i=n(1291),o=RangeError;t.exports=function(t,e,n,a){var s=r(t),c=i(n),l=c<0?s+c:c;if(l>=s||l<0)throw new o("Incorrect index");for(var u=new e(s),h=0;h<s;h++)u[h]=h===l?a:t[h];return u}},9978:(t,e,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9504),a=n(7750),s=n(4901),c=n(4117),l=n(788),u=n(655),h=n(5966),f=n(1034),d=n(2478),p=n(8227),m=n(6395),g=p("replace"),v=TypeError,y=o("".indexOf),b=o("".replace),_=o("".slice),x=Math.max;r({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,o,p,w,S,E,k,C,O=a(this),A=0,T=0,L="";if(!c(t)){if((n=l(t))&&(r=u(a(f(t))),!~y(r,"g")))throw new v("`.replaceAll` does not allow non-global regexes");if(o=h(t,g))return i(o,t,O,e);if(m&&n)return b(u(O),t,e)}for(p=u(O),w=u(t),(S=s(e))||(e=u(e)),E=w.length,k=x(1,E),A=y(p,w);-1!==A;)C=S?u(e(w,A,p)):d(w,p,A,[],void 0,e),L+=_(p,T,A)+C,T=A+E,A=A+k>p.length?-1:y(p,w,A+k);return T<p.length&&(L+=_(p,T)),L}})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";var t={};n.r(t),n.d(t,{afterMain:()=>Ct,afterRead:()=>St,afterWrite:()=>Tt,applyStyles:()=>Rt,arrow:()=>ne,auto:()=>ht,basePlacements:()=>ft,beforeMain:()=>Et,beforeRead:()=>xt,beforeWrite:()=>Ot,bottom:()=>ct,clippingParents:()=>mt,computeStyles:()=>ae,createPopper:()=>Ie,createPopperBase:()=>De,createPopperLite:()=>Re,detectOverflow:()=>xe,end:()=>pt,eventListeners:()=>ce,flip:()=>we,hide:()=>ke,left:()=>ut,main:()=>kt,modifierPhases:()=>Lt,offset:()=>Ce,placements:()=>_t,popper:()=>vt,popperGenerator:()=>je,popperOffsets:()=>Oe,preventOverflow:()=>Ae,read:()=>wt,reference:()=>yt,right:()=>lt,start:()=>dt,top:()=>st,variationPlacements:()=>bt,viewport:()=>gt,write:()=>At}),n(1629),n(4782),n(6099),n(3500),n(6398),n(5666),n(3836),n(1949),n(9246),n(8367),n(9281),n(7452),n(6879);const e=new Map,r={set(t,n,r){e.has(t)||e.set(t,new Map);const i=e.get(t);i.has(n)||0===i.size?i.set(n,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const r=e.get(t);r.delete(n),0===r.size&&e.delete(t)}},i="transitionend",o=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),t),a=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),s=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),c=t=>s(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(o(t)):null,l=t=>{if(!s(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},u=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},f=()=>{},d=t=>{t.offsetHeight},p=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,m=[],g=()=>"rtl"===document.documentElement.dir,v=t=>{(t=>{"loading"===document.readyState?(m.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of m)t()}),m.push(t)):t()})(()=>{const e=p();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},y=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,b=(t,e,n=!0)=>{if(!n)return void y(t);const r=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return r||i?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let o=!1;const a=({target:n})=>{n===e&&(o=!0,e.removeEventListener(i,a),y(t))};e.addEventListener(i,a),setTimeout(()=>{o||e.dispatchEvent(new Event(i))},r)},_=/[^.]*(?=\..*)\.|.*/,x=/\..*/,w=/::\d+$/,S={};let E=1;
vendor: 40,885 bytes, line 2
2const k={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function A(t){const e=O(t);return t.uidEvent=e,S[e]=S[e]||{},S[e]}function T(t,e,n=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===n)}function L(t,e,n){const r="string"==typeof e,i=r?n:e||n;let o=D(t);return C.has(o)||(o=t),[r,i,o]}function P(t,e,n,r,i){if("string"!=typeof e||!t)return;let[o,a,s]=L(e,n,r);if(e in k){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};a=t(a)}const c=A(t),l=c[s]||(c[s]={}),u=T(l,a,o?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const h=O(a,e.replace(_,"")),f=o?function(t,e,n){return function r(i){const o=t.querySelectorAll(e);for(let{target:a}=i;a&&a!==this;a=a.parentNode)for(const s of o)if(s===a)return R(i,{delegateTarget:a}),r.oneOff&&I.off(t,i.type,e,n),n.apply(a,[i])}}(t,n,a):function(t,e){return function n(r){return R(r,{delegateTarget:t}),n.oneOff&&I.off(t,r.type,e),e.apply(t,[r])}}(t,a);f.delegationSelector=o?n:null,f.callable=a,f.oneOff=i,f.uidEvent=h,l[h]=f,t.addEventListener(s,f,o)}function M(t,e,n,r,i){const o=T(e[n],r,i);o&&(t.removeEventListener(n,o,Boolean(i)),delete e[n][o.uidEvent])}function j(t,e,n,r){const i=e[n]||{};for(const[o,a]of Object.entries(i))o.includes(r)&&M(t,e,n,a.callable,a.delegationSelector)}function D(t){return t=t.replace(x,""),k[t]||t}const I={on(t,e,n,r){P(t,e,n,r,!1)},one(t,e,n,r){P(t,e,n,r,!0)},off(t,e,n,r){if("string"!=typeof e||!t)return;const[i,o,a]=L(e,n,r),s=a!==e,c=A(t),l=c[a]||{},u=e.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(c))j(t,c,n,e.slice(1));for(const[n,r]of Object.entries(l)){const i=n.replace(w,"");s&&!e.includes(i)||M(t,c,a,r.callable,r.delegationSelector)}}else{if(!Object.keys(l).length)return;M(t,c,a,o,i?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const r=p();let i=null,o=!0,a=!0,s=!1;e!==D(e)&&r&&(i=r.Event(e,n),r(t).trigger(i),o=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),s=i.isDefaultPrevented());const c=R(new Event(e,{bubbles:o,cancelable:!0}),n);return s&&c.preventDefault(),a&&t.dispatchEvent(c),c.defaultPrevented&&i&&i.preventDefault(),c}};function R(t,e={}){for(const[n,r]of Object.entries(e))try{t[n]=r}catch{Object.defineProperty(t,n,{configurable:!0,get:()=>r})}return t}const N=I;function F(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function B(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const z={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${B(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${B(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(t=>t.startsWith("bs")&&!t.startsWith("bsConfig"));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=F(t.dataset[r])}return e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${B(e)}`))},H=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=s(e)?z.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...s(e)?z.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,r]of Object.entries(e)){const e=t[n],i=s(e)?"element":a(e);if(!new RegExp(r).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${r}".`)}}},V=class extends H{constructor(t,e){super(),(t=c(t))&&(this._element=t,this._config=this._getConfig(e),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){b(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return r.get(c(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},q=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?o(n.trim()):null}return e},W={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(t=>!u(t)&&l(t))},getSelectorFromElement(t){const e=q(t);return e&&W.findOne(e)?e:null},getElementFromSelector(t){const e=q(t);return e?W.findOne(e):null},getMultipleElementsFromSelector(t){const e=q(t);return e?W.find(e):[]}},U=W,G=".bs.collapse",$=`show${G}`,Y=`shown${G}`,K=`hide${G}`,X=`hidden${G}`,Z=`click${G}.data-api`,J="show",Q="collapse",tt="collapsing",et=`:scope .${Q} .${Q}`,nt='[data-bs-toggle="collapse"]',rt={parent:null,toggle:!0},it={parent:"(null|element)",toggle:"boolean"};class ot extends V{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=U.find(nt);for(const t of n){const e=U.getSelectorFromElement(t),n=U.find(e).filter(t=>t===this._element);null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return rt}static get DefaultType(){return it}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(t=>ot.getOrCreateInstance(t,{toggle:!1}))),t.length&&t[0]._isTransitioning)return;if(N.trigger(this._element,$).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(Q),this._element.classList.add(tt),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(tt),this._element.classList.add(Q,J),this._element.style[e]="",N.trigger(this._element,Y)},this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(N.trigger(this._element,K).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add(tt),this._element.classList.remove(Q,J);for(const t of this._triggerArray){const e=U.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(tt),this._element.classList.add(Q),N.trigger(this._element,X)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(J)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=c(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(nt);for(const e of t){const t=U.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=U.find(et,this._config.parent);return U.find(t,this._config.parent).filter(t=>!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const n=ot.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}})}}N.on(document,Z,nt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of U.getMultipleElementsFromSelector(this))ot.getOrCreateInstance(t,{toggle:!1}).toggle()}),v(ot);const at=ot;var st="top",ct="bottom",lt="right",ut="left",ht="auto",ft=[st,ct,lt,ut],dt="start",pt="end",mt="clippingParents",gt="viewport",vt="popper",yt="reference",bt=ft.reduce(function(t,e){return t.concat([e+"-"+dt,e+"-"+pt])},[]),_t=[].concat(ft,[ht]).reduce(function(t,e){return t.concat([e,e+"-"+dt,e+"-"+pt])},[]),xt="beforeRead",wt="read",St="afterRead",Et="beforeMain",kt="main",Ct="afterMain",Ot="beforeWrite",At="write",Tt="afterWrite",Lt=[xt,wt,St,Et,kt,Ct,Ot,At,Tt];function Pt(t){return t?(t.nodeName||"").toLowerCase():null}function Mt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function jt(t){return t instanceof Mt(t).Element||t instanceof Element}function Dt(t){return t instanceof Mt(t).HTMLElement||t instanceof HTMLElement}function It(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Mt(t).ShadowRoot||t instanceof ShadowRoot)}const Rt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];Dt(i)&&Pt(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(t,e){return t[e]="",t},{});Dt(r)&&Pt(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(t){r.removeAttribute(t)}))})}},requires:["computeStyles"]};function Nt(t){return t.split("-")[0]}var Ft=Math.max,Bt=Math.min,zt=Math.round;function Ht(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Vt(){return!/^((?!chrome|android).)*safari/i.test(Ht())}function qt(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&Dt(t)&&(i=t.offsetWidth>0&&zt(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&zt(r.height)/t.offsetHeight||1);var a=(jt(t)?Mt(t):window).visualViewport,s=!Vt()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/i,l=(r.top+(s&&a?a.offsetTop:0))/o,u=r.width/i,h=r.height/o;return{width:u,height:h,top:l,right:c+u,bottom:l+h,left:c,x:c,y:l}}function Wt(t){var e=qt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Ut(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&It(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Gt(t){return Mt(t).getComputedStyle(t)}function $t(t){return["table","td","th"].indexOf(Pt(t))>=0}function Yt(t){return((jt(t)?t.ownerDocument:t.document)||window.document).documentElement}function Kt(t){return"html"===Pt(t)?t:t.assignedSlot||t.parentNode||(It(t)?t.host:null)||Yt(t)}function Xt(t){return Dt(t)&&"fixed"!==Gt(t).position?t.offsetParent:null}function Zt(t){for(var e=Mt(t),n=Xt(t);n&&$t(n)&&"static"===Gt(n).position;)n=Xt(n);return n&&("html"===Pt(n)||"body"===Pt(n)&&"static"===Gt(n).position)?e:n||function(t){var e=/firefox/i.test(Ht());if(/Trident/i.test(Ht())&&Dt(t)&&"fixed"===Gt(t).position)return null;var n=Kt(t);for(It(n)&&(n=n.host);Dt(n)&&["html","body"].indexOf(Pt(n))<0;){var r=Gt(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}function Jt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Qt(t,e,n){return Ft(t,Bt(e,n))}function te(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ee(t,e){return e.reduce(function(e,n){return e[n]=t,e},{})}const ne={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Nt(n.placement),c=Jt(s),l=[ut,lt].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(t,e){return te("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ee(t,ft))}(i.padding,n),h=Wt(o),f="y"===c?st:ut,d="y"===c?ct:lt,p=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],m=a[c]-n.rects.reference[c],g=Zt(o),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=p/2-m/2,b=u[f],_=v-h[l]-u[d],x=v/2-h[l]/2+y,w=Qt(b,x,_),S=c;n.modifiersData[r]=((e={})[S]=w,e.centerOffset=w-x,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&Ut(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function re(t){return t.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,l=t.adaptive,u=t.roundOffsets,h=t.isFixed,f=a.x,d=void 0===f?0:f,p=a.y,m=void 0===p?0:p,g="function"==typeof u?u({x:d,y:m}):{x:d,y:m};d=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=ut,_=st,x=window;if(l){var w=Zt(n),S="clientHeight",E="clientWidth";w===Mt(n)&&"static"!==Gt(w=Yt(n)).position&&"absolute"===s&&(S="scrollHeight",E="scrollWidth"),(i===st||(i===ut||i===lt)&&o===pt)&&(_=ct,m-=(h&&w===x&&x.visualViewport?x.visualViewport.height:w[S])-r.height,m*=c?1:-1),i!==ut&&(i!==st&&i!==ct||o!==pt)||(b=lt,d-=(h&&w===x&&x.visualViewport?x.visualViewport.width:w[E])-r.width,d*=c?1:-1)}var k,C=Object.assign({position:s},l&&ie),O=!0===u?function(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:zt(n*i)/i||0,y:zt(r*i)/i||0}}({x:d,y:m},Mt(n)):{x:d,y:m};return d=O.x,m=O.y,c?Object.assign({},C,((k={})[_]=y?"0":"",k[b]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",k)):Object.assign({},C,((e={})[_]=y?m+"px":"",e[b]=v?d+"px":"",e.transform="",e))}const ae={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,l={placement:Nt(e.placement),variation:re(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,oe(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,oe(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var se={passive:!0};const ce={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,c=Mt(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&l.forEach(function(t){t.addEventListener("scroll",n.update,se)}),s&&c.addEventListener("resize",n.update,se),function(){o&&l.forEach(function(t){t.removeEventListener("scroll",n.update,se)}),s&&c.removeEventListener("resize",n.update,se)}},data:{}};var le={left:"right",right:"left",bottom:"top",top:"bottom"};function ue(t){return t.replace(/left|right|bottom|top/g,function(t){return le[t]})}var he={start:"end",end:"start"};function fe(t){return t.replace(/start|end/g,function(t){return he[t]})}function de(t){var e=Mt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function pe(t){return qt(Yt(t)).left+de(t).scrollLeft}function me(t){var e=Gt(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function ge(t){return["html","body","#document"].indexOf(Pt(t))>=0?t.ownerDocument.body:Dt(t)&&me(t)?t:ge(Kt(t))}function ve(t,e){var n;void 0===e&&(e=[]);var r=ge(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),o=Mt(r),a=i?[o].concat(o.visualViewport||[],me(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(ve(Kt(a)))}function ye(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function be(t,e,n){return e===gt?ye(function(t,e){var n=Mt(t),r=Yt(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var l=Vt();(l||!l&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+pe(t),y:c}}(t,n)):jt(e)?function(t,e){var n=qt(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):ye(function(t){var e,n=Yt(t),r=de(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=Ft(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ft(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+pe(t),c=-r.scrollTop;return"rtl"===Gt(i||n).direction&&(s+=Ft(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(Yt(t)))}function _e(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?Nt(i):null,a=i?re(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case st:e={x:s,y:n.y-r.height};break;case ct:e={x:s,y:n.y+n.height};break;case lt:e={x:n.x+n.width,y:c};break;case ut:e={x:n.x-r.width,y:c};break;default:e={x:n.x,y:n.y}}var l=o?Jt(o):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case dt:e[l]=e[l]-(n[u]/2-r[u]/2);break;case pt:e[l]=e[l]+(n[u]/2-r[u]/2)}}return e}function xe(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=void 0===r?t.placement:r,o=n.strategy,a=void 0===o?t.strategy:o,s=n.boundary,c=void 0===s?mt:s,l=n.rootBoundary,u=void 0===l?gt:l,h=n.elementContext,f=void 0===h?vt:h,d=n.altBoundary,p=void 0!==d&&d,m=n.padding,g=void 0===m?0:m,v=te("number"!=typeof g?g:ee(g,ft)),y=f===vt?yt:vt,b=t.rects.popper,_=t.elements[p?y:f],x=function(t,e,n,r){var i="clippingParents"===e?function(t){var e=ve(Kt(t)),n=["absolute","fixed"].indexOf(Gt(t).position)>=0&&Dt(t)?Zt(t):t;return jt(n)?e.filter(function(t){return jt(t)&&Ut(t,n)&&"body"!==Pt(t)}):[]}(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(e,n){var i=be(t,n,r);return e.top=Ft(i.top,e.top),e.right=Bt(i.right,e.right),e.bottom=Bt(i.bottom,e.bottom),e.left=Ft(i.left,e.left),e},be(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(jt(_)?_:_.contextElement||Yt(t.elements.popper),c,u,a),w=qt(t.elements.reference),S=_e({reference:w,element:b,strategy:"absolute",placement:i}),E=ye(Object.assign({},b,S)),k=f===vt?E:w,C={top:x.top-k.top+v.top,bottom:k.bottom-x.bottom+v.bottom,left:x.left-k.left+v.left,right:k.right-x.right+v.right},O=t.modifiersData.offset;if(f===vt&&O){var A=O[i];Object.keys(C).forEach(function(t){var e=[lt,ct].indexOf(t)>=0?1:-1,n=[st,ct].indexOf(t)>=0?"y":"x";C[t]+=A[n]*e})}return C}const we={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,p=void 0===d||d,m=n.allowedAutoPlacements,g=e.options.placement,v=Nt(g),y=c||(v!==g&&p?function(t){if(Nt(t)===ht)return[];var e=ue(t);return[fe(t),e,fe(e)]}(g):[ue(g)]),b=[g].concat(y).reduce(function(t,n){return t.concat(Nt(n)===ht?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?_t:c,u=re(r),h=u?s?bt:bt.filter(function(t){return re(t)===u}):ft,f=h.filter(function(t){return l.indexOf(t)>=0});0===f.length&&(f=h);var d=f.reduce(function(e,n){return e[n]=xe(t,{placement:n,boundary:i,rootBoundary:o,padding:a})[Nt(n)],e},{});return Object.keys(d).sort(function(t,e){return d[t]-d[e]})}(e,{placement:n,boundary:u,rootBoundary:h,padding:l,flipVariations:p,allowedAutoPlacements:m}):n)},[]),_=e.rects.reference,x=e.rects.popper,w=new Map,S=!0,E=b[0],k=0;k<b.length;k++){var C=b[k],O=Nt(C),A=re(C)===dt,T=[st,ct].indexOf(O)>=0,L=T?"width":"height",P=xe(e,{placement:C,boundary:u,rootBoundary:h,altBoundary:f,padding:l}),M=T?A?lt:ut:A?ct:st;_[L]>x[L]&&(M=ue(M));var j=ue(M),D=[];if(o&&D.push(P[O]<=0),s&&D.push(P[M]<=0,P[j]<=0),D.every(function(t){return t})){E=C,S=!1;break}w.set(C,D)}if(S)for(var I=function(t){var e=b.find(function(e){var n=w.get(e);if(n)return n.slice(0,t).every(function(t){return t})});if(e)return E=e,"break"},R=p?3:1;R>0&&"break"!==I(R);R--);e.placement!==E&&(e.modifiersData[r]._skip=!0,e.placement=E,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Se(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ee(t){return[st,lt,ct,ut].some(function(e){return t[e]>=0})}const ke={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=xe(e,{elementContext:"reference"}),s=xe(e,{altBoundary:!0}),c=Se(a,r),l=Se(s,i,o),u=Ee(c),h=Ee(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}},Ce={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=void 0===i?[0,0]:i,a=_t.reduce(function(t,n){return t[n]=function(t,e,n){var r=Nt(t),i=[ut,st].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[ut,lt].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t},{}),s=a[e.placement],c=s.x,l=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=a}},Oe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=_e({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,d=void 0===f||f,p=n.tetherOffset,m=void 0===p?0:p,g=xe(e,{boundary:c,rootBoundary:l,padding:h,altBoundary:u}),v=Nt(e.placement),y=re(e.placement),b=!y,_=Jt(v),x="x"===_?"y":"x",w=e.modifiersData.popperOffsets,S=e.rects.reference,E=e.rects.popper,k="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,C="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),O=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,A={x:0,y:0};if(w){if(o){var T,L="y"===_?st:ut,P="y"===_?ct:lt,M="y"===_?"height":"width",j=w[_],D=j+g[L],I=j-g[P],R=d?-E[M]/2:0,N=y===dt?S[M]:E[M],F=y===dt?-E[M]:-S[M],B=e.elements.arrow,z=d&&B?Wt(B):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[L],q=H[P],W=Qt(0,S[M],z[M]),U=b?S[M]/2-R-W-V-C.mainAxis:N-W-V-C.mainAxis,G=b?-S[M]/2+R+W+q+C.mainAxis:F+W+q+C.mainAxis,$=e.elements.arrow&&Zt(e.elements.arrow),Y=$?"y"===_?$.clientTop||0:$.clientLeft||0:0,K=null!=(T=null==O?void 0:O[_])?T:0,X=j+G-K,Z=Qt(d?Bt(D,j+U-K-Y):D,j,d?Ft(I,X):I);w[_]=Z,A[_]=Z-j}if(s){var J,Q="x"===_?st:ut,tt="x"===_?ct:lt,et=w[x],nt="y"===x?"height":"width",rt=et+g[Q],it=et-g[tt],ot=-1!==[st,ut].indexOf(v),at=null!=(J=null==O?void 0:O[x])?J:0,ht=ot?rt:et-S[nt]-E[nt]-at+C.altAxis,ft=ot?et+S[nt]+E[nt]-at-C.altAxis:it,pt=d&&ot?function(t,e,n){var r=Qt(t,e,n);return r>n?n:r}(ht,et,ft):Qt(d?ht:rt,et,d?ft:it);w[x]=pt,A[x]=pt-et}e.modifiersData[r]=A}},requiresIfExists:["offset"]};function Te(t,e,n){void 0===n&&(n=!1);var r,i,o=Dt(e),a=Dt(e)&&function(t){var e=t.getBoundingClientRect(),n=zt(e.width)/t.offsetWidth||1,r=zt(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),s=Yt(e),c=qt(t,a,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Pt(e)||me(s))&&(l=(r=e)!==Mt(r)&&Dt(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:de(r)),Dt(e)?((u=qt(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=pe(s))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function Le(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}}),r.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){n.has(t.name)||i(t)}),r}var Pe={placement:"bottom",modifiers:[],strategy:"absolute"};function Me(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function je(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?Pe:i;return function(t,e,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Pe,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],l=!1,u={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;h(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:jt(t)?ve(t):t.contextElement?ve(t.contextElement):[],popper:ve(e)};var a,l,f=function(t){var e=Le(t);return Lt.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),l=a.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t},{}),Object.keys(l).map(function(t){return l[t]})));return s.orderedModifiers=f.filter(function(t){return t.enabled}),s.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var o=i({state:s,name:e,instance:u,options:r});c.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!l){var t=s.elements,e=t.reference,n=t.popper;if(Me(e,n)){s.rects={reference:Te(e,Zt(n),"fixed"===s.options.strategy),popper:Wt(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(t){return s.modifiersData[t.name]=Object.assign({},t.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,h=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:h,instance:u})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(t){u.forceUpdate(),t(s)})},function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(i())})})),a}),destroy:function(){h(),l=!0}};if(!Me(t,e))return u;function h(){c.forEach(function(t){return t()}),c=[]}return u.setOptions(n).then(function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)}),u}}var De=je(),Ie=je({defaultModifiers:[ce,Oe,ae,Rt,Ce,we,Ae,ne,ke]}),Re=je({defaultModifiers:[ce,Oe,ae,Rt]});const Ne={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Fe=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Be=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,ze=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!Fe.has(n)||Boolean(Be.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(n))},He={allowList:Ne,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ve={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},qe={entry:"(string|element|function|null)",selector:"(string|element)"},We=class extends H{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return He}static get DefaultType(){return Ve}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},qe)}_setContent(t,e,n){const r=U.findOne(n,t);r&&((e=this._resolvePossibleFunction(e))?s(e)?this._putElementInTemplate(c(e),r):this._config.html?r.innerHTML=this._maybeSanitize(e):r.textContent=e:r.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const r=(new window.DOMParser).parseFromString(t,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const t of i){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const r=[].concat(...t.attributes),i=[].concat(e["*"]||[],e[n]||[]);for(const e of r)ze(e,i)||t.removeAttribute(e.nodeName)}return r.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return y(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}},Ue=new Set(["sanitize","allowList","sanitizeFn"]),Ge="fade",$e="show",Ye=".tooltip-inner",Ke=".modal",Xe="hide.bs.modal",Ze="hover",Je="focus",Qe={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},tn={allowList:Ne,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},en={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class nn extends V{constructor(t,e){super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return tn}static get DefaultType(){return en}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(Ke),Xe,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=N.trigger(this._element,this.constructor.eventName("show")),e=(h(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),N.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add($e),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.on(t,"mouseover",f);this._queueCallback(()=>{N.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove($e),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))N.off(t,"mouseover",f);this._activeTrigger.click=!1,this._activeTrigger[Je]=!1,this._activeTrigger[Ze]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Ge,$e),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Ge),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new We({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ye]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ge)}_isShown(){return this.tip&&this.tip.classList.contains($e)}_createPopper(t){const e=y(this._config.placement,[this,t,this._element]),n=Qe[e.toUpperCase()];return Ie(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return y(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...y(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)N.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{this._initializeOnDelegatedTarget(t).toggle()});else if("manual"!==e){const t=e===Ze?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===Ze?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");N.on(this._element,t,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Je:Ze]=!0,e._enter()}),N.on(this._element,n,this._config.selector,t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Je:Ze]=e._element.contains(t.relatedTarget),e._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(Ke),Xe,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=z.getDataAttributes(this._element);for(const t of Object.keys(e))Ue.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:c(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=nn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
2amed "${t}"`);e[t]()}})}}v(nn);const rn=nn,on="backdrop",an="show",sn=`mousedown.bs.${on}`,cn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ln={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},un=class extends H{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return cn}static get DefaultType(){return ln}static get NAME(){return on}show(t){if(!this._config.isVisible)return void y(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(an),this._emulateAnimation(()=>{y(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(an),this._emulateAnimation(()=>{this.dispose(),y(t)})):y(t)}dispose(){this._isAppended&&(N.off(this._element,sn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=c(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),N.on(t,sn,()=>{y(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){b(t,this._getElement(),this._config.isAnimated)}},hn=".bs.focustrap",fn=`focusin${hn}`,dn=`keydown.tab${hn}`,pn="backward",mn={autofocus:!0,trapElement:null},gn={autofocus:"boolean",trapElement:"element"},vn=class extends H{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return mn}static get DefaultType(){return gn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,hn),N.on(document,fn,t=>this._handleFocusin(t)),N.on(document,dn,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,hn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=U.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===pn?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?pn:"forward")}},yn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",bn=".sticky-top",_n="padding-right",xn="margin-right",wn=class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,_n,e=>e+t),this._setElementAttributes(yn,_n,e=>e+t),this._setElementAttributes(bn,xn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,_n),this._resetElementAttributes(yn,_n),this._resetElementAttributes(bn,xn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const r=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+r)return;this._saveInitialAttribute(t,e);const i=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&z.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const n=z.getDataAttribute(t,e);null!==n?(z.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(s(t))e(t);else for(const n of U.find(t,this._element))e(n)}},Sn=".bs.offcanvas",En=".data-api",kn=`load${Sn}${En}`,Cn="show",On="showing",An="hiding",Tn=".offcanvas.show",Ln=`show${Sn}`,Pn=`shown${Sn}`,Mn=`hide${Sn}`,jn=`hidePrevented${Sn}`,Dn=`hidden${Sn}`,In=`resize${Sn}`,Rn=`click${Sn}${En}`,Nn=`keydown.dismiss${Sn}`,Fn={backdrop:!0,keyboard:!0,scroll:!1},Bn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class zn extends V{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Fn}static get DefaultType(){return Bn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||N.trigger(this._element,Ln,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new wn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(On),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Cn),this._element.classList.remove(On),N.trigger(this._element,Pn,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(N.trigger(this._element,Mn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(An),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Cn,An),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new wn).reset(),N.trigger(this._element,Dn)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new un({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():N.trigger(this._element,jn)}:null})}_initializeFocusTrap(){return new vn({trapElement:this._element})}_addEventListeners(){N.on(this._element,Nn,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():N.trigger(this._element,jn))})}static jQueryInterface(t){return this.each(function(){const e=zn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
2amed "${t}"`);e[t](this)}})}}N.on(document,Rn,'[data-bs-toggle="offcanvas"]',function(t){const e=U.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),u(this))return;N.one(e,Dn,()=>{l(this)&&this.focus()});const n=U.findOne(Tn);n&&n!==e&&zn.getInstance(n).hide(),zn.getOrCreateInstance(e).toggle(this)}),N.on(window,kn,()=>{for(const t of U.find(Tn))zn.getOrCreateInstance(t).show()}),N.on(window,In,()=>{for(const t of U.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&zn.getOrCreateInstance(t).hide()}),((t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;N.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),u(this))return;const i=U.getElementFromSelector(this)||this.closest(`.${r}`);t.getOrCreateInstance(i)[e]()})})(zn),v(zn),n(2675),n(9463),n(2259),n(3418),n(4346),n(3792),n(2062),n(3288),n(2010),n(7495),n(8781),n(7764),n(2953);var Hn=n(915),Vn=n.n(Hn);function qn(t){return function(t){if(Array.isArray(t))return Wn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Wn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wn(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Un,Gn,$n,Yn,Kn,Xn=(Un=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],Gn=function(){function t(e){var n=e.targetModal,r=e.triggers,i=void 0===r?[]:r,o=e.onShow,a=void 0===o?function(){}:o,s=e.onClose,c=void 0===s?function(){}:s,l=e.openTrigger,u=void 0===l?"data-micromodal-trigger":l,h=e.closeTrigger,f=void 0===h?"data-micromodal-close":h,d=e.openClass,p=void 0===d?"is-open":d,m=e.disableScroll,g=void 0!==m&&m,v=e.disableFocus,y=void 0!==v&&v,b=e.awaitCloseAnimation,_=void 0!==b&&b,x=e.awaitOpenAnimation,w=void 0!==x&&x,S=e.debugMode,E=void 0!==S&&S;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modal=document.getElementById(n),this.config={debugMode:E,disableScroll:g,openTrigger:u,closeTrigger:f,openClass:p,onShow:a,onClose:c,awaitCloseAnimation:_,awaitOpenAnimation:w,disableFocus:y},i.length>0&&this.registerTriggers.apply(this,qn(i)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var e;return(e=[{key:"registerTriggers",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.filter(Boolean).forEach(function(e){e.addEventListener("click",function(e){return t.showModal(e)})})}},{key:"showModal",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation?this.modal.addEventListener("animationend",function e(){t.modal.removeEventListener("animationend",e,!1),t.setFocusToFirstNode()},!1):this.setFocusToFirstNode(),this.config.onShow(this.modal,this.activeElement,e)}},{key:"closeModal",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,t),this.config.awaitCloseAnimation){var n=this.config.openClass;this.modal.addEventListener("animationend",function t(){e.classList.remove(n),e.removeEventListener("animationend",t,!1)},!1)}else e.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(t){this.modal=document.getElementById(t),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(t){if(this.config.disableScroll){var e=document.querySelector("body");switch(t){case"enable":Object.assign(e.style,{overflow:""});break;case"disable":Object.assign(e.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(t){(t.target.hasAttribute(this.config.closeTrigger)||t.target.parentNode.hasAttribute(this.config.closeTrigger))&&(t.preventDefault(),t.stopPropagation(),this.closeModal(t))}},{key:"onKeydown",value:function(t){27===t.keyCode&&this.closeModal(t),9===t.keyCode&&this.retainFocus(t)}},{key:"getFocusableNodes",value:function(){var t=this.modal.querySelectorAll(Un);return Array.apply(void 0,qn(t))}},{key:"setFocusToFirstNode",value:function(){var t=this;if(!this.config.disableFocus){var e=this.getFocusableNodes();if(0!==e.length){var n=e.filter(function(e){return!e.hasAttribute(t.config.closeTrigger)});n.length>0&&n[0].focus(),0===n.length&&e[0].focus()}}}},{key:"retainFocus",value:function(t){var e=this.getFocusableNodes();if(0!==e.length)if(e=e.filter(function(t){return null!==t.offsetParent}),this.modal.contains(document.activeElement)){var n=e.indexOf(document.activeElement);t.shiftKey&&0===n&&(e[e.length-1].focus(),t.preventDefault()),!t.shiftKey&&e.length>0&&n===e.length-1&&(e[0].focus(),t.preventDefault())}else e[0].focus()}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,e),t}(),$n=null,Yn=function(t){if(!document.getElementById(t))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(t,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(t,'"></div>')),!1},Kn=function(t,e){if(function(t){t.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(t),!e)return!0;for(var n in e)Yn(n);return!0},{init:function(t){var e=Object.assign({},{openTrigger:"data-micromodal-trigger"},t),n=qn(document.querySelectorAll("[".concat(e.openTrigger,"]"))),r=function(t,e){var n=[];return t.forEach(function(t){var r=t.attributes[e].value;void 0===n[r]&&(n[r]=[]),n[r].push(t)}),n}(n,e.openTrigger);if(!0!==e.debugMode||!1!==Kn(n,r))for(var i in r){var o=r[i];e.targetModal=i,e.triggers=qn(o),$n=new Gn(e)}},show:function(t,e){var n=e||{};n.targetModal=t,!0===n.debugMode&&!1===Yn(t)||($n&&$n.removeEventListeners(),($n=new Gn(n)).showModal())},close:function(t){t?$n.closeModalById(t):$n.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=Xn);const Zn=Xn;function Jn(t){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(t)}function Qn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,tr(r.key),r)}}function tr(t){var e=function(t){if("object"!=Jn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Jn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Jn(e)?e:e+""}n(5700),n(8706),n(9572),n(2892),n(4185);var er=".youtube__video-poster",nr=function(){return function(t,e){return e&&Qn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i){var o=this,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.element=e,this.videoId=n,this.title=r,this.alt=i,this.lazyLoad=a,this.player=null,this.lazyLoad&&this.element.querySelector(er)&&this.element.querySelector(er).addEventListener("click",function(){o.initializeVideo()})},[{key:"initializeVideo",value:function(){var t='\n      <iframe title="'.concat(this.title,'" alt="').concat(this.alt,'" class="embed-responsive-item"\n        src="https://www.youtube.com/embed/').concat(this.videoId,'?autoplay=1&amp;enablejsapi=1&amp;showinfo=0&amp;rel=0"\n        frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""\n        tabindex="-1"\n      >\n        YouTube embedded video: https://www.youtube-nocookie.com/embed/').concat(this.videoId,"\n      </iframe>\n    ");this.element.innerHTML=t,this.player=new YT.Player(this.element.querySelector("iframe"))}},{key:"playVideo",value:function(){this.player&&this.player.playVideo()}},{key:"pauseVideo",value:function(){this.player&&this.player.pauseVideo()}}])}();function rr(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function ir(){Vn()(),Zn.init({onShow:function(t){var e=function(t){return function(t){if(Array.isArray(t))return rr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return rr(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rr(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.querySelectorAll("[data-modal-youtube-video]"));t.youtubeVideoObjectArray=e.map(function(t){return new nr(t,t.dataset.videoId,t.dataset.title,t.dataset.alt,t.dataset.lazyLoad)})},onClose:function(t){var e;null===(e=t.youtubeVideoObjectArray)||void 0===e||e.forEach(function(t){return t.pauseVideo()})},disableScroll:!0,awaitOpenAnimation:!0}),document.querySelectorAll("[data-custom-modal-close]").forEach(function(t){t.addEventListener("click",function(e){e.preventDefault(),Zn.close(t.dataset.customModalClose)})})}function or(t){return or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or(t)}function ar(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function sr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?ar(Object(n),!0).forEach(function(e){fr(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function cr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||lr(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lr(t,e){if(t){if("string"==typeof t)return ur(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ur(t,e):void 0}}function ur(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function hr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,dr(r.key),r)}}function fr(t,e,n){return(e=dr(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dr(t){var e=function(t){if("object"!=or(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=or(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==or(e)?e:e+""}function pr(t,e,n){mr(t,e),e.set(t,n)}function mr(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function gr(t,e){return t.get(yr(t,e))}function vr(t,e,n){return t.set(yr(t,e),n),n}function yr(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n(4170),n(9432),n(3362),n(5746),n(958),n(8408),n(2008),n(4423),n(739),n(7945),n(5506),n(3851),n(1278),n(1699),n(5440),n(744),n(3772),n(2041),n(6031);var br="__",_r="facets",xr="offset",wr=["q","query",xr,"sort","orderby","limit",_r],Sr=new WeakMap,Er=new WeakMap,kr=new WeakMap,Cr=new WeakSet,Or=function(){return function(t,e){return e&&hr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){mr(t,e),e.add(t)}(this,Cr),pr(this,Sr,void 0),pr(this,Er,void 0),pr(this,kr,void 0),fr(this,"events",void 0),vr(Sr,this,e),vr(Er,this,n),vr(kr,this,null),this.loadCount=0,this.events=r,"false"!==gr(Er,this).getAttribute("data-onload")){var i=yr(Cr,this,Ar).call(this);yr(Cr,this,Mr).call(this,i)}},[{key:"fetchResults",value:function(){yr(Cr,this,Lr).call(this)}},{key:"makePublicRequest",value:function(t){return yr(Cr,this,Mr).call(this,t)}}])}();function Ar(){var t=this,e=new URLSearchParams(window.location.search);if(!e.size)return null;var n={};return wr.forEach(function(r){var i=gr(Sr,t)?r+gr(Sr,t):r;if(e.has(i)){var o=e.getAll(i);r==_r?o.forEach(function(t){var e=t.split(br),r=e[0],i=e[1];Array.isArray(n[r])?n[r].push(i):n[r]?n[r]=[n[r],i]:n[r]=i;var o={};return o[r]=i,o}):n[r]=o[0]}}),Object.keys(n).length?n:null}function Tr(){var t,e={},n=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=lr(t))){e&&(t=e);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==e.return||e.return()}finally{if(a)throw i}}}}(new FormData(gr(Er,this)));try{for(n.s();!(t=n.n()).done;){var r=cr(t.value,2),i=r[0],o=r[1];o&&(void 0!==e[i]?(Array.isArray(e[i])||(e[i]=[e[i]]),e[i].push(o)):e[i]=o)}}catch(t){n.e(t)}finally{n.f()}return e}function Lr(){gr(kr,this)&&clearTimeout(gr(kr,this));var t=this;this.events.loading(!0),vr(kr,this,setTimeout(function(){yr(Cr,t,Mr).call(t)},500))}function Pr(t){for(var e="",n=0,r=Object.entries(t);n<r.length;n++){var i=cr(r[n],2),o=i[0],a=i[1];if(a)if(Array.isArray(a))for(var s=0;s<a.length;s++)e+=(e.length?"&":"")+"".concat(o,"=").concat(encodeURIComponent(a[s]));else e+=(e.length?"&":"")+"".concat(o,"=").concat(encodeURIComponent(a))}return e}function Mr(t){var e=this;return new Promise(function(n,r){var i,o={method:gr(Er,e).getAttribute("method"),headers:{"Content-Type":"application/json"}};i=gr(Er,e).hasAttribute("data-endpoint")?gr(Er,e).dataset.endpoint:gr(Er,e).getAttribute("action");var a=gr(Er,e).closest(".cmp-searchCustom").dataset.results,s=sr(sr({},yr(Cr,e,Tr).call(e)),t||{});"get"==o.method.toLowerCase()?i+=(i.includes("? ")?"&":"?")+yr(Cr,e,Pr).call(e,s):o.body=JSON.stringify(s),e.events.loading(!0),fetch(i,o).then(function(t){return t.json()}).then(function(t){e.events.loading(!1),t?(e.events.error(!1),e.events.success(t),!gr(Er,e).classList.contains("search-autocomplete")&&e.loadCount>0&&yr(Cr,e,jr).call(e,s),e.loadCount>0&&!gr(Er,e).classList.contains("search-autocomplete")&&("events"===a?gr(Er,e).querySelector(".cmp-searchCustom__top-bar").scrollIntoView({behavior:"smooth",block:"start"}):gr(Er,e).scrollIntoView({behavior:"smooth",block:"start"})),e.loadCount++,n(t)):e.events.error(!0,"No data returned")}).catch(function(t){e.events.loading(!1),e.events.error(!0,t),r(t)})})}function jr(t){var e=this,n=new URLSearchParams(window.location.search);n.size&&wr.forEach(function(t){var r=gr(Sr,e)?t+gr(Sr,e):t;n.delete(r)});for(var r=function(){var t=cr(o[i],2),r=t[0],a=t[1],s=Array.isArray(a);if(!s&&(r!=xr||0===a||"0"===a)&&!wr.includes(r)&&gr(Er,e).querySelector('[type="hidden"][name="'.concat(r.replaceAll('"','\\"'),'"][value="').concat(a.replaceAll('"','\\"'),'"]')))return 1;var c=!wr.includes(r);s?a.forEach(function(t){n.append((c?_r:r)+(gr(Sr,e)?gr(Sr,e):""),(c?r+br:"")+t)}):n.append((c?_r:r)+(gr(Sr,e)?gr(Sr,e):""),(c?r+br:"")+a)},i=0,o=Object.entries(t);i<o.length;i++)r();window.history.replaceState({},"",window.location.href.split("?")[0]+"?"+n.toString())}function Dr(t){return Dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dr(t)}function Ir(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Nr(r.key),r)}}function Rr(t,e,n){return e&&Ir(t.prototype,e),n&&Ir(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Nr(t){var e=function(t){if("object"!=Dr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Dr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Dr(e)?e:e+""}function Fr(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Br(t,e){return t.get(zr(t,e))}function zr(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}
2var Hr=new WeakMap,Vr=new WeakSet,qr=Rr(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){Fr(t,e),e.add(t)}(this,Vr),function(t,e){Fr(t,e),e.set(t,void 0)}(this,Hr),this.CSS_CLASS=n,function(t,e,n){t.set(zr(t,e),n)}(Hr,this,e),zr(Vr,this,Wr).call(this)});function Wr(){var t=this;Br(Hr,this).querySelectorAll(".".concat(this.CSS_CLASS,"__layout input"))&&Array.from(Br(Hr,this).querySelectorAll(".".concat(this.CSS_CLASS,"__layout input"))).forEach(function(e){e.addEventListener("change",function(){"grid"===e.id?(Br(Hr,t).querySelectorAll(".cmp-list__item:not(:has(.featured-block)) .cmp-card").forEach(function(t){t.classList.remove("cmp-card--horizontal")}),Br(Hr,t).querySelectorAll(".cmp-list__item:not(:has(.featured-block))").forEach(function(t){t.classList.add("cmp-list__item--grid")})):(Br(Hr,t).querySelectorAll(".cmp-list__item:not(:has(.featured-block)) .cmp-card").forEach(function(t){t.classList.add("cmp-card--horizontal")}),Br(Hr,t).querySelectorAll(".cmp-list__item:not(:has(.featured-block))").forEach(function(t){t.classList.remove("cmp-list__item--grid")}))})})}function Ur(t){return Ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ur(t)}function Gr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,$r(r.key),r)}}function $r(t){var e=function(t){if("object"!=Ur(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ur(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ur(e)?e:e+""}n(6412),n(8125),n(5276),n(8598),n(4490),n(6910),n(4554),n(4731),n(479),n(9904),n(875),n(287),n(1392);var Yr=function(){return function(t,e){return e&&Gr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CSS_CLASS=e,this.result=n,this.displayUrl=n.url.startsWith("http")?this.result.url:window.location.origin+this.result.url},[{key:"render",value:function(){return'\n\t\t\t<section class="'.concat(this.CSS_CLASS,'__result">\n\t\t\t\t<h2 class="').concat(this.CSS_CLASS,'__result-heading">\n\t\t\t\t\t<a class="').concat(this.CSS_CLASS,'__result-wrapper inline-download-link" href="').concat(this.result.url,'">').concat(this.result.title,"</a>\n\t\t\t\t</h2>\n\t\t\t\t\t").concat(this.result.url?'<div class="'.concat(this.CSS_CLASS,'__result-info">\n\t\t\t\t\t\t\t<p>').concat(this.result.tags&&this.result.tags.length>0?"<span>".concat(this.result.tags[0].title,"</span>"):"").concat(this.displayUrl,"</p>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t").concat(this.result.description?'<div class="'.concat(this.CSS_CLASS,'__result-desc">\n\t\t\t\t\t\t\t<p>').concat(this.result.description,"</p>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t</section>\n\t\t")}}])}();function Kr(t){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kr(t)}function Xr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Zr(r.key),r)}}function Zr(t){var e=function(t){if("object"!=Kr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Kr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Kr(e)?e:e+""}var Jr=function(){return function(t,e){return e&&Xr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.imageData=e,this.thumbFromYoutube=n},[{key:"render",value:function(){return'\n\t\t\t<div class="image">\n\t\t\t\t<div class="cmp-image">\n\t\t\t\t\t<img \n\t\t\t\t\t\t'.concat(this.thumbFromYoutube?'\n\t\t\t\t\t\t\tsrc="http://img.youtube.com/vi/'.concat(this.imageData.properties.featuredVideoUrl,'/maxresdefault.jpg" \n\t\t\t\t\t\t\talt="" \n\t\t\t\t\t\t'):'\n\t\t\t\t\t\t\tsrc="'.concat(this.imageData.image.src,'"\n\t\t\t\t\t\t\twidth="').concat(this.imageData.image.width,'"\n\t\t\t\t\t\t\theight="').concat(this.imageData.image.height,'"\n\t\t\t\t\t\t\talt="').concat(this.imageData.image.alt,'"\n\t\t\t\t\t\t\t'),'\n\t\t\t\t\t\tloading="lazy" \
2n\t\t\t\t\t\tclass="cmp-image__image" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t')}}])}();function Qr(t){return Qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qr(t)}function ti(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ei(r.key),r)}}function ei(t){var e=function(t){if("object"!=Qr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Qr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Qr(e)?e:e+""}var ni=function(){return function(t,e){return e&&ti(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.result=e,this.layoutRow=n,this.fullWidth=r,this.dictionary=i},[{key:"render",value:function(){var t=new Jr(this.result);return'\n\t\t\t<li class="cmp-list__item '.concat(this.layoutRow.checked?"":"cmp-list__item--grid").concat("navGrid"===this.layoutRow?"cmp-list__item--grid":"",'">\n\t\t\t\t<div class="card">\n\t\t\t\t\t<div class="cmp-card ').concat(this.layoutRow.checked?"cmp-card--horizontal":""," ").concat(this.fullWidth?"cmp-card--full-width":"",'">\n\t\t\t\t\t\t').concat(this.result.image?'<div class="cmp-card__image '.concat(this.result.properties.featuredVideoUrl?"cmp-card__image--video":"",'">\n\t\t\t\t\t\t\t').concat(t.render(),"\n\t\t\t\t\t\t</div>"):"",'\n\t\t\t\t\t\t<div class="cmp-card__content">\n\t\t\t\t\t\t\t').concat("navGrid"===this.layoutRow?'\n\t\t\t\t\t\t\t\t<div class="cmp-card__content--title-wrap">\n\t\t\t\t\t\t\t\t\t'.concat(this.result.eyebrow?'<p class="cmp-eyebrow">'.concat(this.result.eyebrow,"</p>"):'<p class="cmp-eyebrow">'.concat(this.dictionary.latest,"</p>"),"\n\t\t\t\t\t\t\t\t\t").concat(this.result.title?'<h3 class="heading-link">'.concat(this.result.url?'<a href="'.concat(this.result.url,'">').concat(this.result.title,"</a>"):this.result.title,"</h3>"):"","\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t"):"\n\t\t\t\t\t\t\t\t".concat(this.result.title?'<h3 class="heading-link">'.concat(this.result.url?'<a href="'.concat(this.result.url,'">').concat(this.result.title,"</a>"):this.result.title,"</h3>"):"","\n\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate||this.result.tags?'<div class="cmp-byline">':"","\n\t\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate?"<p>".concat(this.result.properties.publicationDate,"</p>"):"","\n\t\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate&&this.result.tags.length>0&&this.result.tags[0].title?"<span></span>":"","\n\t\t\t\t\t\t\t\t").concat(this.result.tags.length>0&&this.result.tags[0].title?"<p>".concat(this.result.tags.map(function(t){return t.title}).join("</p><span></span><p>"),"</p>"):"","\n\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate||this.result.tags?"</div>":"","\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t")}}])}();function ri(t){return ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ri(t)}function ii(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,oi(r.key),r)}}function oi(t){var e=function(t){if("object"!=ri(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ri(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ri(e)?e:e+""}n(1761);var ai=function(){return function(t,e){return e&&ii(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.videoData=e,this.videoId="";var n=e.properties.featuredVideoUrl;if(null!=n&&n.startsWith("http")){var r=n.match(/https?:\/\/(?:m.)?(?:www\.)?youtu(?:\.be\/|(?:be-nocookie|be)\.com\/(?:watch|\w+\?(?:feature=\w+.\w+&)?v=|v\/|e\/|embed\/|live\/|shorts\/|user\/(?:[\w#]+\/)+))([^&#?\n]+)/);r&&r[1].length>1&&(this.videoId=r[1])}else this.videoId=n},[{key:"render",value:function(){return'\n\t\t\t<div class="youtube">\n\t\t\t\t<div class="youtube__video" data-youtube-video="" data-video-id="'.concat(this.videoId,'" data-alt
2="').concat(this.videoData.image.alt,'" data-lazy-load="">\n\t\t\t\t\t<iframe title="').concat(this.videoData.image.alt,'" class="embed-responsive-item" src="https://www.youtube.com/embed/').concat(this.videoId,'?enablejsapi=1&amp;showinfo=0&amp;rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen="" tabindex="-1">YouTube embedded video: https://www.youtube-nocookie.com/embed/').concat(this.videoId,"</iframe>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t")}}])}();function si(t){return si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},si(t)}function ci(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,li(r.key),r)}}function li(t){var e=function(t){if("object"!=si(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=si(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==si(e)?e:e+""}var ui=function(){return function(t,e){return e&&ci(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.result=e,this.main=n,this.dictionary=r},[{key:"render",value:function(){var t=new Jr(this.result),e=new ai(this.result),n=this.result.pageTags&&this.result.pageTags.length,r=this.result.tags.length>0&&this.result.tags[0].title;return"\n\t\t\t".concat(this.main?"":'<li class="cmp-list__item cmp-list__item--grid">','\n\t\t\t\t<div class="featured-block">\n\t\t\t\t\t<div class="cmp-featured-block').concat(this.main?" cmp-featured-block--row":"",'">\n\t\t\t\t\t').concat(this.result.properties.featuredVideoUrl?'<div class="cmp-featured-block__video">'.concat(e.render(),"</div>"):"".concat(this.result.image?'<div class="cmp-featured-block__video">'.concat(t.render(),"</div>"):""),'\n\t\t\t\t\t\t<div class="card">\n\t\t\t\t\t\t\t<div class="cmp-card cmp-card--no-hover">\n\t\t\t\t\t\t\t\t<div class="cmp-card__content">\n\t\t\t\t\t\t\t\t\t').concat(this.result.eyebrow?'<p class="cmp-eyebrow">'.concat(this.result.eyebrow,"</p>"):'<p class="cmp-eyebrow">'.concat(this.dictionary.latest,"</p>"),"\n\t\t\t\t\t\t\t\t\t").concat(this.result.title?'<h3 class="heading-link">'.concat(this.result.url?'<a href="'.concat(this.result.url,'">').concat(this.result.title,"</a>"):this.result.title,"</h3>"):"","\n\t\t\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate||this.result.tags?'<div class="cmp-byline">':"","\n\t\t\t\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate?"<p>".concat(this.result.properties.publicationDate,"</p>"):"","\n\t\t\t\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate&&this.result.tags.length>0&&this.result.tags[0].title?" <span></span> ":"","\n\t\t\t\t\t\t\t\t\t\t").concat(n||r?"<p>".concat(n?this.result.pageTags.map(function(t){return t.url?'<a href="'.concat(t.url,'">').concat(t.title,"</a>"):t.title}).join("</p><span></span><p>"):this.result.tags.map(function(t){return t.title}).join("</p><span></span><p>"),"</p>"):"","\n\t\t\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate||this.result.tags?"</div>":"","\n\t\t\t\t\t\t\t\t\t").concat(this.result.description?'<div class="text">\n\t\t\t\t\t\t\t\t\t\t\t<p class="cmp-text">'.concat(this.result.description,"</p>\n\t\t\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t\t\t\t").concat(this.result.url?'<div class="button btn-link btn-arrow">\n\t\t\t\t\t\t\t\t\t\t<a class="cmp-button" href="'.concat(this.result.url,'">\n\t\t\t\t\t\t\t\t\t\t\t<span class="cmp-button__text">').concat(this.result.properties.ctaText?this.result.properties.ctaText:this.dictionary.defaultCTAText,'</span>\n\t\t\t\t\t\t\t\t\t\t\t<div class="cmp-animated-arrow__container" aria-hidden="true">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class="cmp-animated-arrow"></span>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t</div>'):"","\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t").concat(this.main?"":"</li>","\n\t\t")}}])}();function hi(t){return hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hi(t)}function fi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,di(r.key),r)}}function di(t){var e=function(t){if("object"!=hi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=hi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==hi(e)?e:e+""}var pi=function(){return function(t,e){return e&&fi(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.date=e,this.event=new Date(this.date),this.lang=navigator.language,this.TIMEZONE="America/Phoenix",this.longDateOptions={weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:this.TIMEZONE},this.shortMonth={month:"short",timeZone:this.TIMEZONE},this.dayNum={day:"numeric",timeZone:this.TIMEZONE},this.timeOptions={hour:"numeric",minute:"numeric",timeZone:this.TIMEZONE}},[{key:"getDate",value:function(){return this.event.toLocaleDateString(this.lang,{timeZone:this.TIMEZONE})}},{key:"day",value:function(){return this.event.toLocaleDateString(this.lang,this.dayNum)}},{key:"monthAbbr",value:function(){return this.event.toLocaleDateString(this.lang,this.shortMonth)}},{key:"longDate",value:function(){return this.event.toLocaleDateString(this.lang,this.longDateOptions)}}
2,{key:"time",value:function(){return this.event.toLocaleString(this.lang,this.timeOptions)}}])}();function mi(t){return mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mi(t)}function gi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,vi(r.key),r)}}function vi(t){var e=function(t){if("object"!=mi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=mi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==mi(e)?e:e+""}var yi=function(){return function(t,e){return e&&gi(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.result=e,this.eventDetails=this.result.properties,this.eventDate=new pi(this.eventDetails.eventDate),this.startTime=new pi(this.eventDetails.startTime),this.endTime=new pi(this.eventDetails.endTime)},[{key:"renderCalendar",value:function(t){return'\n\t\t\t<div class="calendar-date'.concat(t?" calendar-date--large":"",'">\n\t\t\t\t<span class="calendar-date__month">').concat(this.eventDate.monthAbbr().toUpperCase(),'</span>\n\t\t\t\t<span class="calendar-date__day">').concat(this.eventDate.day(),"</span>\n\t\t\t</div>")}},{key:"renderTag",value:function(t){var e;return e="warning"===t?"Cancellation":"Public Hearing",'<span class="icon-tag icon-tag--'.concat(t,'">Notice of ').concat(e,"</span>")}},{key:"renderTagText",value:function(t){var e;switch(t){case"date":e=this.eventDate.longDate();break;case"time":e="".concat(this.startTime.time()," - ").concat(this.endTime.time());break;case"location":e=this.eventDetails.location;break;default:e=""}return'<span class="icon-text icon-text--'.concat(t,'">').concat(e,"</span>")}},{key:"renderMapUrl",value:function(){return'<a target="_blank" href="'.concat(this.eventDetails.mapsUrl,'">Map and directions</a>')}},{key:"renderButton",value:function(){return'\n\t\t\t<div class="add-to-cal-button">\n\t\t\t\t<a class="addeventatc" title="Add to Calendar" href="#" data-styling="none" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-custom-class="custom-tooltip" data-bs-title="Add to Calendar">\n\t\t\t\t\t<span class="visually-hidden">Add to Calendar</span>\n\t\t\t\t\t<span class="start">'.concat(this.eventDate.getDate()," ").concat(this.startTime.time(),'</span>\n\t\t\t\t\t<span class="end">').concat(this.eventDate.getDate()," ").concat(this.endTime.time(),'</span>\n\t\t\t\t\t<span class="timezone">America/Phoenix</span>\n\t\t\t\t\t<span class="title">').concat(this.result.title,"</span>\n\t\t\t\t\t").concat(this.result.description?'<span class="description">'.concat(this.result.description,"</span>"):"","\n\t\t\t\t\t").concat(this.eventDetails.location?'<span class="location">'.concat(this.eventDetails.location,"</span>"):"","\n\t\t\t\t</a>\n\t\t\t</div>")}}])}();function bi(t){return bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bi(t)}function _i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,xi(r.key),r)}}function xi(t){var e=function(t){if("object"!=bi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=bi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==bi(e)?e:e+""}function wi(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var Si=new WeakSet,Ei=function(){return function(t,e){return e&&_i(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Si),this.result=e,this.main=n,this.list=i,this.dictionary=r,this.image=new Jr(this.result),this.component=new yi(this.result),this.url=this.result.url,this.ctaText=this.result.ctaText,this.title=this.result.title,this.eventDetails=this.result.properties,this.cancelled=this.eventDetails.cancelled,this.publicNotice=this.eventDetails.publicNotice,this.location=this.eventDetails.location,this.mapsUrl=this.eventDetails.mapsUrl,this.hideMapUrl=o},[{key:"render",value:function(){return this.list?'\n\t\t\t\t<li class="cmp-list__item cmp-list__item--grid">\n\t\t\t\t\t'.concat(wi(Si,this,Ci).call(this),"\n\t\t\t\t</li>\n\t\t\t"):wi(Si,this,Ci).call(this)}}])}();function ki(){return'\n\t\t\t<div class="card">\n\t\t\t\t<div class="cmp-card cmp-card--event'.concat(this.main?" cmp-card--no-hover":"",'">\n\t\t\t\t\t').concat(this.result.image&&!this.main?'<div class="cmp-featured-block__image">\n\t\t\t\t\t\t\t<div class="cmp-card__image ">\n\t\t\t\t\t\t\t\t'.concat(this.image.render(),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"",'\n\t\t\t\t\t<div class="cmp-card__content').concat(this.result.tags&&this.result.tags.length>0&&this.result.tags[0].title?" cmp-card__content--tags":"",'">\n\t\t\t\t\t\t').concat(this.eventDetails.eventDate?this.component.renderCalendar(!0):"","\n\t\t\t\t\t\t").concat(this.cancelled?this.component.renderTag("warning"):"","\n\t\t\t\t\t\t").concat(this.publicNotice?this.component.renderTag("alert"):"","\n\t\t\t\t\t\t").concat(this.title?'<h3 class="heading-link">'.concat(this.url?'<a href="'.concat(this.url,'">').concat(this.title,"</a>"):this.title,"</h3>"):"","\n\t\t\t\t\t\t").concat(this.result.tags&&this.result.tags.length>0&&this.result.tags[0].title?'<div class="cmp-byline">\n\t\t\t\t\t\t\t\t<p>'.concat(this.result.tags.map(function(t){return t.title}).join("</p><span></span>
2<p>"),"</p>\n\t\t\t\t\t\t\t</div>"):"",'\n\t\t\t\t\t\t<div class="cmp-card__event-details">\n\t\t\t\t\t\t\t').concat(this.eventDetails.startTime||this.eventDetails.eventDate?'<div class="cmp-card__time">\n\t\t\t\t\t\t\t\t\t'.concat(this.eventDetails.eventDate?this.component.renderTagText("date"):"","\n\t\t\t\t\t\t\t\t\t").concat(this.eventDetails.startTime&&this.eventDetails.endTime?this.component.renderTagText("time"):"","\n\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t\t").concat(this.location?'<div class="cmp-card__address">\n\t\t\t\t\t\t\t\t\t'.concat(this.component.renderTagText("location"),"\n\t\t\t\t\t\t\t\t\t").concat(this.mapsUrl&&!this.hideMapUrl?this.component.renderMapUrl():"","\n\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t").concat(this.url&&this.main?'<div class="button btn-link btn-arrow">\n\t\t\t\t\t\t\t\t<a class="cmp-button" href="'.concat(this.url,'">\n\t\t\t\t\t\t\t\t\t<span class="cmp-button__text">').concat(this.ctaText?this.ctaText:this.dictionary.defaultCTAText,'</span>\n\t\t\t\t\t\t\t\t\t<div class="cmp-animated-arrow__container" aria-hidden="true">\n\t\t\t\t\t\t\t\t\t\t<span class="cmp-animated-arrow"></span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t</div>'):"","\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>")}function Ci(){return'\n\t\t<div class="featured-block">\n\t\t\t<div class="cmp-featured-block cmp-featured-block--event'.concat(this.main&&!this.list?" cmp-featured-block--row":"",'">\n\t\t\t\t').concat(this.eventDetails.eventDate&&this.main?this.component.renderButton():"","\n\t\t\t\t").concat(this.result.image&&this.main?'<div class="cmp-featured-block__image">'.concat(this.image.render(),"</div>"):"","\n\t\t\t\t").concat(wi(Si,this,ki).call(this),"\n\t\t\t</div>\n\t\t</div>\n\t")}function Oi(t){return Oi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oi(t)}function Ai(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ti(r.key),r)}}function Ti(t){var e=function(t){if("object"!=Oi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Oi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Oi(e)?e:e+""}var Li=function(){return function(t,e){return e&&Ai(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CSS_CLASS=e,this.result=n},[{key:"render",value:function(){var t=new yi(this.result),e=this.result.url,n=this.result.title,r=this.result.properties,i=r.cancelled,o=r.publicNotice,a=r.location,s=r.mapsUrl,c=this.result.tags.filter(function(t){return"audience"===t.category}),l=this.result.tags.filter(function(t){return"audience"!==t.category});return'\n\t\t\t<section class="'.concat(this.CSS_CLASS,'__result">\n\t\t\t\t<div class="event-card-search">\n\t\t\t\t\t<div class="cmp-event-card-search">\n\t\t\t\t\t\t').concat(r.eventDate?'<div class="cmp-event-card-search__calendar">\n\t\t\t\t\t\t\t\t'.concat(t.renderCalendar(!0),"\n\t\t\t\t\t\t\t</div>"):"",'\n\t\t\t\t\t\t<div class="cmp-event-card-search__card">\n\t\t\t\t\t\t\t<div class="cmp-event-card-search__title-wrap">\n\t\t\t\t\t\t\t\t<div class="cmp-event-card-search__title">\n\t\t\t\t\t\t\t\t\t').concat(i?t.renderTag("warning"):"","\n\t\t\t\t\t\t\t\t\t").concat(o?t.renderTag("alert"):"","\n\t\t\t\t\t\t\t\t\t").concat(e?'<h2><a href="'.concat(e,'">').concat(n,"</a></h2>"):"<h2>".concat(n,"</h2>"),"\n\t\t\t\t\t\t\t\t\t").concat(this.result.tags&&this.result.tags.length>0?'<div class="cmp-byline">\n\t\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t\t\t\t\t'.concat(l&&l.length?"".concat(l.map(function(t){return t.title}).join("<span></span>")):"","\n\t\t\t\t\t\t\t\t\t\t\t").concat(c&&c.length&&l&&l.length?"<span></span>":"","\n\t\t\t\t\t\t\t\t\t\t\t").concat(c&&c.length?"".concat(c.map(function(t){return t.title}).join("<span></span>")):"","\n\t\t\t\t\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t").concat(r.eventDate?'<div class="cmp-event-card-search__button-mobile d-lg-none">\n\t\t\t\t\t\t\t\t\t\t<div class="add-to-cal-button">\n\t\t\t\t\t\t\t\t\t\t\t'.concat(t.renderButton(),"\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>"):"",'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="cmp-event-card-search__info-wrap">\n\t\t\t\t\t\t\t\t').concat(r.startTime||r.eventDate?'<div class="cmp-event-card-search__time">\n\t\t\t\t\t\t\t\t\t\t'.concat(r.eventDate?t.renderTagText("date"):"","\n\t\t\t\t\t\t\t\t\t\t").concat(r.startTime&&r.endTime?t.renderTagText("time"):"","\n\t\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t\t\t").concat(a?'<div class="cmp-event-card-search__address">\n\t\t\t\t\t\t\t\t\t\t'.concat(t.renderTagText("location"),"\n\t\t\t\t\t\t\t\t\t\t").concat(s?t.renderMapUrl():"","\n\t\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t\t\t").concat(r.eventDate?'<div class="cmp-event-card-search__button-desktop">\n\t\t\t\t\t\t\t\t\t\t<div class="add-to-cal-button">\n\t\t\t\t\t\t\t\t\t\t\t'.concat(t.renderButton(),"\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</section>\n\t\t")}}])}();function Pi(t){return Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pi(t)}function Mi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ji(r.key),r)}}function ji(t){var e=function(t){if("object"!=Pi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Pi(e)?e:e+""}var Di=function(){return function(t,e){return e&&Mi(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.result=e},[{key:"render",value:function(){var t=new yi(this.result),e=this.result.url,n=this.result.title,r=this.result.properties,i=r.cancelled,o=r.publicNotice,a=r.location;return'\n\t\t<li class="cmp-list__item" >\n\t\t\t<div class="event-card">\n\t\t\t\t'.concat(r.eventDate?t.renderCalendar(!1):"",'\n\t\t\t\t<div class="event-card__content">\n\t\t\t\t\t').concat(i?t.renderTag("warning"):"","\n\t\t\t\t\t").concat(o?t.renderTag("alert"):"","\n\t\t\t\t\t").concat(n?'<a class="event-card__title" href="'.concat(e,'">').concat(n,"</a>"):"","\n\t\t\t\t\t").concat(r.startTime&&r.endTime?t.renderTagText("time"):"","\n\t\t\t\t\t").concat(a?t.renderTagText("location"):"","\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</li>")}}])}();function Ii(t){return Ii="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ii(t)}function Ri(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ni(r.key),r)}}function Ni(t){var e=function(t){if("object"!=Ii(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ii(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ii(e)?e:e+""}var Fi=function(){return function(t,e){return e&&Ri(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.result=e,this.dictionary=n},[{key:"render",value:function(){var t=this,e=new Jr(this.result,!0);return'\n\t\t\t<li class="cmp-list__item">\n\t\t\t\t<div class="card">\n\t\t\t\t\t<div class="cmp-card cmp-card--horizontal">\n\t\t\t\t\t\t'.concat(this.result.properties&&this.result.properties.featuredVideoUrl?'<div class="cmp-card__image cmp-card__image--video">\n\t\t\t\t\t\t\t'.concat(e.render(),"\n\t\t\t\t\t\t</div>"):"",'\n\t\t\t\t\t\t<div class="cmp-card__content">\n\t\t\t\t\t\t\t').concat(this.result.title?'<h3 class="heading-link">'.concat(this.result.properties&&this.result.properties.featuredVideoUrl?'<a href="http://www.youtube.com/watch?v='.concat(this.result.properties.featuredVideoUrl,'" target="_blank">').concat(this.result.title,"</a>"):this.result.title,"</h3>"):"","\n\t\t\t\t\t\t\t").concat(this.result.description?'<div class="text">\n\t\t\t\t\t\t\t\t\t<p class="cmp-text">'.concat(this.result.description,"</p>\n\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t\t").concat(this.result.properties&&this.result.properties.publicationDate||this.result.tags&&this.result.tags.length>0?'<div class="cmp-byline">\n\t\t\t\t\t\t\t\t\t'.concat(this.result.properties.publicationDate?"<p>".concat(this.result.properties.publicationDate,"</p>"):"","\n\t\t\t\t\t\t\t\t\t").concat(this.result.properties.publicationDate&&this.result.tags&&this.result.tags.length>0?"<span></span>":"","\n\t\t\t\t\t\t\t\t\t").concat(this.result.tags&&this.result.tags.length>0?this.result.tags.map(function(e,n){return"\n\t\t\t\t\t\t\t\t\t\t\t\t<p>".concat(e.title,"</p>\n\t\t\t\t\t\t\t\t\t\t\t\t").concat(n!=t.result.tags.length-1?"<span></span>":"","\n\t\t\t\t\t\t\t\t\t\t\t")}).join(""):"","\n\t\t\t\t\t\t\t\t</div>"):"","\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t")}}])}();function Bi(t){return Bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bi(t)}function zi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Hi(r.key),r)}}function Hi(t){var e=function(t){if("object"!=Bi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Bi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Bi(e)?e:e+""}var Vi=function(){return function(t,e){return e&&zi(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CSS_CLASS=e,this.result=n,this.dictionary=r},[{key:"render",value:function(){var t=this.result.properties["metadata/documentNumber"],e=this.result.properties["metadata/advisoryDate"];return'\n\t\t\t<section class="'.concat(this.CSS_CLASS,'__result">\n\t\t\t\t<h2 class="').concat(this.CSS_CLASS,'__result-heading">\n\t\t\t\t\t<a class="').concat(this.CSS_CLASS,'__result-wrapper inline-download-l
2ink" href="').concat(this.result.url,'" target="_blank">').concat(this.result.title,'</a>\n\t\t\t\t</h2>\n                <div class="').concat(this.CSS_CLASS,'__result-info">\n                    <p>\n                        ').concat(t?"<span>".concat(this.dictionary.documentNumLabel,": ").concat(t,"</span>"):"","\n                        ").concat(e?"<span>".concat(this.dictionary.documentPublishLabel,": ").concat(new Date(e).toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"}),"</span>"):"","\n                    </p>\n                </div>\n\t\t\t</section>\n\t\t")}}])}();function qi(t,e){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(r,i)},e)}}function Wi(t){return(t=(t=(t=(t=(t+="").toLowerCase()).replace(/-/g," ")).match(/[\w\s]/g).join("")).replace(/\s+/g," ")).replace(/\s/g,"_")}function Ui(t){return t?t.replace(/\r\n|\r|\n/g,"<br>").replace(/\\n/g,"<br>").replace(/(https?:\/\/[^\s<]+|www\.[^\s<]+)/gi,function(t){var e=t.toLowerCase().startsWith("http")?t:"https://".concat(t);return'<a href="'.concat(e,'" target="_blank" rel="noopener noreferrer">').concat(t,"</a>")}):t}function Gi(t){return Gi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gi(t)}function $i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Yi(r.key),r)}}function Yi(t){var e=function(t){if("object"!=Gi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Gi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Gi(e)?e:e+""}function Ki(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n(2762);var Xi=new WeakSet,Zi=function(){return function(t,e){return e&&$i(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Xi),this.CSS_CLASS=e,this.result=n,this.dictionary=r,this.index=i},[{key:"render",value:function(){var t=this.result.properties,e=t.label,n=t.disposalInstructions,r=t.bestOption,i=t.otherOptions,o=Ki(Xi,this,Qi).call(this,r),a=Ki(Xi,this,Ji).call(this,i,this.dictionary.otherOptionsLabel);return'\n\t\t\t<li class="cmp-list__item cmp-list__item--grid">\n\t\t\t\t<div class="card">\n\t\t\t\t\t<div class="cmp-card cmp-card--recycling">\n\t\t\t\t\t\t<div class="cmp-card__content">\n\t\t\t\t\t\t\t<h3 class="heading-link"><a href="#" class="'.concat(this.CSS_CLASS,'__result-trigger" data-result-index="').concat(this.index,'">').concat(e,'<span class="visually-hidden">, ').concat(this.dictionary.dialogOpenHint,"</span></a></h3>\n\t\t\t\t\t\t\t").concat(o||a?'<div class="cmp-card__content--tag-byline">\n\t\t\t\t\t\t\t\t'.concat(o,"\n\t\t\t\t\t\t\t\t").concat(a?'<div class="cmp-byline">'.concat(a,"</div>"):"","\n\t\t\t\t\t\t\t</div>"):"","\n\n\t\t\t\t\t\t\t").concat(n?"<p>".concat(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return!t||t.length<=e?t:"".concat(t.slice(0,e).trim(),"...")}(n,200),"</p>"):"",'\n\t\t\t\t\t\t\t<div class="cmp-card__arrow" aria-hidden="true">\n\t\t\t\t\t\t\t\t<div class="cmp-animated-arrow__container" aria-hidden="true">\n\t\t\t\t\t\t\t\t\t<span class="cmp-animated-arrow"></span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t')}}])}();function Ji(t,e){return t&&t.length?"<p>".concat(e,": ").concat(t.map(function(t){return t.title}).join(", "),"</p>"):""}function Qi(t){return t&&t.length?t.map(function(t){return'<span class="icon-tag icon-tag--'.concat((e=t.id,e.split("/").pop()),'">').concat(t.title,"</span>");var e}).join(""):""}function to(t){return to="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},to(t)}function eo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function no(){var t=co(),e=t.m(no),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,ro(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(no=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new uo(t,e)},AsyncIterator:so,async:function(t,e,n,i,a){return(r(e)?ao:oo)(o(t),e,n,i,a)},keys:io,values:ro}})()}function ro(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(to(t)+" is not iterable")}function io(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function oo(t,e,n,r,i){var o=ao(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function ao(t,e,n,r,i){return new so(co().w(t,e,n,r),i||Promise)}function so(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof uo?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(lo(so.prototype),lo(so.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),lo(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)}
2)}return r=r?r.then(a,a):a()},!0)}function co(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return lo(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(lo(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,lo(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,lo(h,"constructor",l),lo(l,"constructor",c),c.displayName="GeneratorFunction",lo(l,i,"GeneratorFunction"),lo(h),lo(h,i,"Generator"),lo(h,r,function(){return this}),lo(h,"toString",function(){return"[object Generator]"}),(co=function(){return{w:o,m:f}})()}function lo(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}lo=function(t,e,n,r){function o(e,n){lo(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},lo(t,e,n,r)}function uo(t,e){this.v=t,this.k=e}function ho(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function fo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,po(r.key),r)}}function po(t){var e=function(t){if("object"!=to(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=to(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==to(e)?e:e+""}function mo(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var go=new WeakSet,vo=function(){return function(t,e){return e&&fo(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,go),this.CSS_CLASS=r,this.searchEle=e,this.adobePush=i,this.resultsContainerEle=e.querySelector(".".concat(this.CSS_CLASS,"__results")),this.dictionary=n,this.layoutRow=e.querySelector(".".concat(this.CSS_CLASS,"__layout #row")),this.offset=e.querySelector(".".concat(this.CSS_CLASS,"__offset"))?e.querySelector(".".concat(this.CSS_CLASS,"__offset")).value:0,this.NO_RESULTS="".concat(this.CSS_CLASS,"--no-results-error"),this.count=0},[{key:"render",value:(t=function(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(t){ho(o,r,i,a,s,"next",t)}function s(t){ho(o,r,i,a,s,"throw",t)}a(void 0)})}}(no().mark(function t(e,n,r){var i,o,a,s,c,l,u=this;return no().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=this.searchEle.dataset.results,n&&"newsNav"!=i&&mo(go,this,yo).call(this,n,i),!e&&!n||!e.length&&!n.length?(this.searchEle.classList.add(this.NO_RESULTS),o="",a=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__no-results--suggestions")),s=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__no-results--suggestions ul")),a&&((o=r.map(function(t){return mo(go,u,Lo).call(u,t)}).join("")).length?(a.classList.remove("".concat(this.CSS_CLASS,"__hidden")),s.innerHTML=o):a.classList.add("".concat(this.CSS_CLASS,"__hidden")))):this.searchEle.classList.remove(this.NO_RESULTS),c="",!n||!n.length){t.next=16;break}t.t0=i,t.next="newsroom"===t.t0?8:"department-newsroom"===t.t0?10:"newsNav"===t.t0?12:14;break;case 8:case 10:return c=mo(go,this,bo).call(this,n),t.abrupt("break",16);case 12:return c=mo(go,this,So).call(this,n),t.abrupt("break",16);case 14:return c="",t.abrupt("break",16);case 16:"newsSpotlight"==i&&(e=(e=e.concat(n)).sort(function(t,e){return t&&e&&t.properties&&e.properties?t.properties.publicationDateEpoch&&e.properties.publicationDateEpoch?Number(e.properties.publicationDateEpoch)-Number(t.properties.publicationDateEpoch):t.properties.publicationDateEpoch?-1:e.properties.publicationDateEpoch?1:0:0})),this.lastResultsData=e,l=e?e.map(function(t,e){switch(i){case"newsroom":return mo(go,u,wo).c
2all(u,t);case"department-newsroom":return mo(go,u,wo).call(u,t,!0);case"events":return mo(go,u,Eo).call(u,t,!0);case"newsNav":return"";case"eventsNav":case"majorEvents":case"eventsDetail":return mo(go,u,Po).call(u,mo(go,u,ko).bind(u),t,3);case"newsSpotlight":return[];case"documents":return mo(go,u,Co).call(u,t);case"recycling":return mo(go,u,Oo).call(u,t,e);case"videos":return mo(go,u,Ao).call(u,t);default:return mo(go,u,To).call(u,t)}}):"",this.resultsContainerEle&&(this.resultsContainerEle.innerHTML=c+l.join(""),mo(go,this,Mo).call(this));case 20:case"end":return t.stop()}},t,this)})),function(e,n,r){return t.apply(this,arguments)})}]);var t}();function yo(t,e){var n=".".concat(this.CSS_CLASS,"__featuredResults");if(this.searchEle.querySelector(n)&&t&&null!==t){if(!t.length){if(!this.searchEle.querySelector(n))return;this.searchEle.querySelector(n).innerHTML=mo(go,this,xo).call(this,e)}var r,i;if(t&&t.length)switch(e){case"events":r=t.splice(0,1)[0],i=new Ei(r,!0,this.dictionary,!1,!1),this.searchEle.querySelector(n).innerHTML=i.render();break;case"eventsNav":r=t.splice(0,1)[0],i=new Ei(r,!1,this.dictionary,!1,!0),this.searchEle.querySelector(n).innerHTML=i.render();break;case"majorEvents":this.searchEle.querySelector(n).innerHTML=mo(go,this,_o).call(this,t);break;default:r=t.splice(0,1)[0],i=new ui(r,!0,this.dictionary),this.searchEle.querySelector(n).innerHTML=i.render()}}}function bo(t){var e=this;return t.map(function(t){return new ui(t,!1,e.dictionary).render()}).join("")}function _o(t){var e=this;return t.map(function(t){return new Ei(t,!0,e.dictionary,!0,!1).render()}).join("")}function xo(t){if("majorEvents"!=t)return"";var e=this.searchEle.dataset.noresults;return'\n\t\t<div class="cmp-searchCustom__no-results--event">\n\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="40" height="44" viewBox="0 0 40 44">\n\t\t\t\t<path d="M11.75 1.375V0H9V1.375V5.5H3.5H0.75V8.25V13.75V16.5V41.25V44H3.5H36.5H39.25V41.25V16.5V13.75V8.25V5.5H36.5H31V1.375V0H28.25V1.375V5.5H11.75V1.375ZM3.5 16.5H36.5V41.25H3.5V16.5ZM3.5 8.25H36.5V13.75H3.5V8.25ZM26.4711 24.3461L27.4422 23.375L25.5 21.4328L24.5289 22.4039L20 26.9328L15.4711 22.4039L14.5 21.4328L12.5578 23.375L13.5289 24.3461L18.0578 28.875L13.5289 33.4039L12.5578 34.375L14.5 36.3172L15.4711 35.3461L20 30.8172L24.5289 35.3461L25.5 36.3172L27.4422 34.375L26.4711 33.4039L21.9422 28.875L26.4711 24.3461Z" fill="#10192A"/>\n\t\t\t</svg>\n\t\t\t<p>'.concat(e,"</p>\n\t\t</div>")}function wo(t,e){return new ni(t,this.layoutRow,e,this.dictionary).render()}function So(t){var e=this;return this.layoutRow="navGrid",t.map(function(t){return new ni(t,e.layoutRow,!1,e.dictionary).render()}).join("")}function Eo(t){return new Li(this.CSS_CLASS,t).render()}function ko(t){return new Di(t).render()}function Co(t){return new Vi(this.CSS_CLASS,t,this.dictionary).render()}function Oo(t,e){return new Zi(this.CSS_CLASS,t,this.dictionary,e).render()}function Ao(t){return new Fi(t,this.dictionary).render()}function To(t){return new Yr(this.CSS_CLASS,t).render()}function Lo(t){var e="".concat(window.location.pathname,"?").concat(this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__box input")).name).concat(this.searchEle.id,"=").concat(t);return'<li class="cmp-search__suggestion-item">\n\t\t\t\t\t<a role="button" href="'.concat(e,'" tabindex="0" class="cmp-search__suggestion" data-search-suggestion="').concat(t,'">\n\t\t\t\t\t\t').concat(t,"\n\t\t\t\t\t</a>\n\t\t\t\t</li>")}function Po(t,e,n){return this.count++,this.count<=n?t(e):""}function Mo(){var t=this;this.searchEle.querySelectorAll(".".concat(this.CSS_CLASS,"__result")).forEach(function(e){return e.addEventListener("click",function(e){var n=e.target.closest(".".concat(t.CSS_CLASS,"__results")).children,r=e.target.closest(".".concat(t.CSS_CLASS,"__result")),i=function(t){return function(t){if(Array.isArray(t))return eo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return eo(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eo(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Array.from(n)).indexOf(r);t.adobePush.pushEventResultClick(i+1)})}),this.searchEle.querySelectorAll(".".concat(this.CSS_CLASS,"__result-trigger")).forEac
2h(function(e){return e.addEventListener("click",function(n){n.preventDefault();var r=t.lastResultsData?t.lastResultsData[e.dataset.resultIndex]:null;r&&t.searchEle.dispatchEvent(new CustomEvent("phx:result-open",{detail:r}))})})}function jo(t){return jo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jo(t)}function Do(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ro(r.key),r)}}function Io(t,e,n){return e&&Do(t.prototype,e),n&&Do(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ro(t){var e=function(t){if("object"!=jo(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=jo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==jo(e)?e:e+""}function No(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Fo(t,e){return t.get(Bo(t,e))}function Bo(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var zo="cmp-dialog__result-modal",Ho="modal-open",Vo=new WeakMap,qo=new WeakSet,Wo=Io(function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){No(t,e),e.add(t)}(this,qo),function(t,e){No(t,e),e.set(t,function(t){if("Tab"===t.key){var e=r.dialogEl.querySelectorAll('button, a[href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(e.length){var n=e[0],i=e[e.length-1];t.shiftKey&&document.activeElement===n?(t.preventDefault(),i.focus()):t.shiftKey||document.activeElement!==i||(t.preventDefault(),n.focus())}}})}(this,Vo),this.dictionary=n,this.dialogEl=e.querySelector(".".concat(zo)),this.dialogEl&&(this.titleEl=this.dialogEl.querySelector(".".concat(zo,"-title")),this.bodyEl=this.dialogEl.querySelector(".".concat(zo,"-body")),e.addEventListener("phx:result-open",function(t){return Bo(qo,r,Ko).call(r,t.detail)}),this.dialogEl.querySelectorAll("[data-dialog-close]").forEach(function(t){return t.addEventListener("click",function(){return r.dialogEl.close()})}),this.dialogEl.addEventListener("click",function(t){t.target===r.dialogEl&&r.dialogEl.close()}),this.dialogEl.addEventListener("close",function(){return Bo(qo,r,Uo).call(r)}))});function Uo(){document.documentElement.classList.remove(Ho),document.body.classList.remove(Ho),this.dialogEl.removeEventListener("keydown",Fo(Vo,this)),this.dialogEl.setAttribute("aria-hidden","true"),this.dialogEl.hidden=!0,this.titleEl.textContent="",this.bodyEl.innerHTML=""}function Go(t,e){return t&&t.length?t.map(function(t){return'\n\t\t\t<div class="'.concat(zo,'-section">\n\t\t\t\t<h3>').concat(e,": ").concat(t.title,"</h3>\n\t\t\t\t").concat(t.description?"<p>".concat(Ui(t.description),"</p>"):"","\n\t\t\t</div>\n\t\t")}).join(""):""}function $o(t){return t?'\n\t\t\t<div class="'.concat(zo,'-notes">\n\t\t\t\t<h3>').concat(this.dictionary.modalNotesLabel,"</h3>\n\t\t\t\t<p>").concat(Ui(t),"</p>\n\t\t\t</div>\n\t\t"):""}function Yo(t){return t?'\n\t\t\t<div class="'.concat(zo,'-image">\n\t\t\t\t<div class="image">\n\t\t\t\t\t<div class="cmp-image">\n\t\t\t\t\t\t<img src="').concat(t,'" alt="" loading="lazy" class="cmp-image__image" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t'):""}function Ko(t){var e=t.properties,n=e.label,r=e.image,i=e.disposalInstructions,o=e.bestOption,a=e.otherOptions;this.titleEl.textContent=n,this.bodyEl.innerHTML=[Bo(qo,this,Go).call(this,o,this.dictionary.modalBestOptionLabel),Bo(qo,this,Go).call(this,a,this.dictionary.modalAlternativeOptionLabel),Bo(qo,this,$o).call(this,i),Bo(qo,this,Yo).call(this,r)].join(""),document.documentElement.classList.add(Ho),document.body.classList.add(Ho),this.dialogEl.removeAttribute("aria-hidden"),this.dialogEl.hidden=!1,this.dialogEl.showModal(),this.dialogEl.addEventListener("keydown",Fo(Vo,this)),this.titleEl.focu
2s()}var Xo=window.matchMedia("(min-width: 768px)"),Zo=window.matchMedia("(min-width: 1366px)"),Jo=window.matchMedia("(min-width: 1760px)"),Qo=function(){return Jo.matches?"XLARGE":Zo.matches?"LARGE":Xo.matches?"MEDIUM":"SMALL"};try{var ta={get passive(){return!1}};window.addEventListener("test",null,ta),window.removeEventListener("test",null,ta)}catch(t){}function ea(t){return ea="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ea(t)}function na(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ra(r.key),r)}}function ra(t){var e=function(t){if("object"!=ea(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ea(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ea(e)?e:e+""}function ia(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var oa=new WeakSet,aa=function(){return function(t,e){return e&&na(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i,o){var a=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,oa),this.searchEle=e,this.CSS_CLASS=n,this.MOBILE,this.TABLET,this.DESKTOP,this.LAST_RESIZE=Qo(),this.data,this.id=r,this.dictionary=i,this.formEle=e.querySelector("form"),this.facetsContainerEle=this.formEle.querySelectorAll(".".concat(this.CSS_CLASS,"__facets")),this.adobePush=o,this.NO_FACETS="".concat(this.CSS_CLASS,"--no-facets");var s=qi(ia(oa,this,ca).bind(this),500);window.addEventListener("resize",s),ia(oa,this,ca).call(this),this.facetsContainerEle.forEach(function(t){return t.addEventListener("change",function(t){(t.target.matches(".".concat(a.CSS_CLASS,"__facet-group input"))||t.target.matches(".".concat(a.CSS_CLASS,"__facet-group select")))&&(e.querySelector(".".concat(a.CSS_CLASS,"__offset"))&&(e.querySelector(".".concat(a.CSS_CLASS,"__offset")).value=0),a.formEle.requestSubmit())})})},[{key:"render",value:function(t){var e=this;if(this.data=t,t&&t.length){var n;this.searchEle.classList.remove(this.NO_FACETS);var r=this.searchEle.dataset.results;n=t.map(function(t){var n=Wi(t.name);switch(r){case"newsroom":case"department-newsroom":case"events":return ia(oa,e,la).call(e,t,n);default:return ia(oa,e,ua).call(e,t,n)}}),this.facetsContainerEle.forEach(function(t){return t.innerHTML=n.join("")}),this.facetsContainerEle.forEach(function(t){return t.addEventListener("click",ia(oa,e,sa).bind(e))})}else this.searchEle.classList.add(this.NO_FACETS)}}])}();function sa(t){var e;(e="input"===t.target.localName?t.target:"span"===t.target.localName?t.target.closest("label").previousElementSibling:t.target.previousElementSibling)&&this.adobePush.pushEventFilterClick(e.name,e.value)}function ca(){var t=this;this.MOBILE="SMALL"===Qo(),this.TABLET="MEDIUM"===Qo(),this.DESKTOP="LARGE"===Qo()||"XLARGE"===Qo(),this.LAST_RESIZE!==Qo()&&(this.facetsContainerEle.forEach(function(e){return e.removeEventListener("click",ia(oa,t,sa).bind(t))}),this.render(this.data)),this.LAST_RESIZE=Qo()}function la(t,e){return'\n\t\t<section class="'.concat(this.CSS_CLASS,"__facet-group ").concat(this.CSS_CLASS,'__facet-group--select">\n\t\t\t<label class="').concat(this.CSS_CLASS,'__facet-group-label" for="').concat(e,'">').concat(t.title,'</label>\n\t\t\t<div class="').concat(this.CSS_CLASS,'__facet-group-select-wrap">\n\t\t\t\t<select class="').concat(this.CSS_CLASS,'__facet-group-select" name="').concat(t.name,'" id="').concat(e,'">\n\t\t\t\t\t').concat(t.buckets.map(function(e){var n=Wi("".concat(self.id?self.id+"__":"").concat(t.name,"__").concat(e.value));return'<option id="'.concat(n,'" name="').concat(e.value,'" value="').concat(e.value,'"').concat(e.active?" selected":"",">").concat(e.title,"</option>")}).join(""),"\n\t\t\t\t</select>\n\t\t\t</div>\n\t\t</section>")}function ua(t,e){var n=this;return"MEDIUM"===Qo()?'\n\t\t\t\t<section id="'.concat(e,'" class="').concat(this.CSS_CLASS,'__facet-group cmp-show-more-list">\n\t\t\t\t\t<h3 class="').concat(this.CSS_CLASS,'__facet-group-heading">').concat(t.title,"</h3>\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t").concat(t.buckets.sort(function(t,e){return t.title.localeCompare(e.title)}).map(function(e){var r=Wi("".concat(n.id?n.id+"__":"").concat(t.name,"__").concat(e.value));return'\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<input type="checkbox" id="'.concat(r,'" name="').concat(t.name,'" value="').concat(e.value,'"').concat(e.active?" checked":"").concat(0===e.count?" disabled":"",' />
2\n\t\t\t\t\t\t\t\t\t<label for="').concat(r,'"><span class="').concat(n.CSS_CLASS,'__facet-label">').concat(e.title,"</span></label>\n\t\t\t\t\t\t\t\t</li>")}).join(""),"\n\t\t\t\t\t</ul>\n\t\t\t\t</section>"):'<section id="'.concat(e,'" class="').concat(this.CSS_CLASS,'__facet-group cmp-show-more-list">\n\t\t\t\t<h3 class="').concat(this.CSS_CLASS,'__facet-group-heading">').concat(t.title,"</h3>\n\t\t\t\t<ul>\n\t\t\t\t\t").concat(t.buckets.sort(function(t,e){return t.title.localeCompare(e.title)}).map(function(e,r){var i=Wi("".concat(n.id?n.id+"__":"").concat(t.name,"__").concat(e.value));if(t.buckets.length>6?r<5:r>=0)return'\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<input type="checkbox" id="'.concat(i,'" name="').concat(t.name,'" value="').concat(e.value,'"').concat(e.active?" checked":"").concat(0===e.count?" disabled":"",' />\n\t\t\t\t\t\t\t\t<label for="').concat(i,'"><span class="').concat(n.CSS_CLASS,'__facet-label">').concat(e.title,"</span></label>\n\t\t\t\t\t\t\t</li>")}).join(""),"\n\t\t\t\t</ul>\n\t\t\t\t").concat(t.buckets.length>6?'\n\t\t\t\t\t<div class="cmp-show-more-list__collapse collapse multi-collapse" id="'.concat(e,'Collapse">\n\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t').concat(t.buckets.map(function(e,r){var i=Wi("".concat(n.id?n.id+"__":"").concat(t.name,"__").concat(e.value));if(r>=5)return'\n\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<input type="checkbox" id="'.concat(i,'" name="').concat(t.name,'" value="').concat(e.value,'"').concat(e.active?" checked":"").concat(0===e.count?" disabled":"",' />\n\t\t\t\t\t\t\t\t\t\t<label for="').concat(i,'"><span class="').concat(n.CSS_CLASS,'__facet-label">').concat(e.title,"</span></label>\n\t\t\t\t\t\t\t\t\t</li>")}).join(""),'\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="button btn-collapse">\n\t\t\t\t\t\t<button type="button" aria-controls="').concat(e,'Collapse" class="').concat(this.CSS_CLASS,'__facet-expand cmp-button" data-bs-toggle="collapse" data-bs-target="#').concat(e,'Collapse" aria-expanded="false" data-expanded-text="').concat(this.dictionary.seeLess,'" data-collapsed-text="').concat(this.dictionary.seeMore,'" aria-controls="">').concat(this.dictionary.seeMore,"</button>\n\t\t\t\t\t</div>\n\t\t\t\t"):"","\n\t\t\t</section>")}function ha(t){return ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ha(t)}function fa(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,da(r.key),r)}}function da(t){var e=function(t){if("object"!=ha(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ha(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ha(e)?e:e+""}n(113),n(8940);var pa=function(){return function(t,e){return e&&fa(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i,o,a,s){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CSS_CLASS=e,this.label=n,this.offset=r,this.active=i,this.disabled=o,this.prev=a,this.next=s},[{key:"render",value:function(){return this.next?'\n\t\t\t\t<div class="button btn-link btn-arrow">\n\t\t\t\t\t<a type="button" '.concat(this.disabled?"":'tabindex="0"',' class="cmp-button ').concat(this.CSS_CLASS,"__pagination-btn").concat(this.active?" ".concat(this.CSS_CLASS,"__pagination-btn--active"):"",'" data-pagination-button="').concat(this.offset,'"').concat(this.disabled?" disabled":"",'>\n\t\t\t\t\t\t<span class="cmp-button__text">').concat(this.label,'</span>\n\t\t\t\t\t\t<div class="cmp-animated-arrow__container" aria-hidden="true">\n\t\t\t\t\t\t\t<span class="cmp-animated-arrow"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t'):this.prev?'\n\t\t\t\t<div class="button btn-link btn-arrow btn-arrow--left">\n\t\t\t\t\t<a type="button" '.concat(this.disabled?"":'tabindex="0"',' class="cmp-button ').concat(this.CSS_CLASS,"__pagination-btn").concat(this.active?" ".concat(this.CSS_CLASS,"__pagination-btn--active"):"",'" data-pagination-button="').concat(this.offset,'"').concat(this.disabled?" disabled":"",'>\n\t\t\t\t\t\t<div class="cmp-animated-arrow__container" aria-hidden="true">\n\t\t\t\t\t\t\t<span class="cmp-animated-arrow"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<span class="cmp-button__text">').concat(this.label,"</span>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t"):'\n\t\t\t<button type="button" class="'.concat(this.CSS_CLASS,"__pagination-btn").concat(this.active?" ".concat(this.CSS_CLASS,"__pagination-btn--active"):"",'" data-pagination-button="').concat(this.offset,'"').concat(this.disabled?" disabled":"",">").concat(this.label,"</button>\n\t\t")}}])}();function ma(t){return ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ma(t)}function ga(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,va(r.key),r)}}function va(t){var e=function(t){if("object"!=ma(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ma(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ma(e)?e:e+""}function ya(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var ba=new WeakSet,_a=function(){return function(t,e){return e&&ga(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,ba),this.searchEle=e,this.dictionary=r,this.CSS_CLASS=n;var o=e.querySelector("form");this.paginationContainerEle=o.querySelector(".".concat(this.CSS_CLASS,"__pagination")),this.offset=e.querySelector(".".concat(this.CSS_CLASS,"__offset")).value,this.limit=e.querySelector(".".concat(this.CSS_CLASS,"__per-page")).value,this.topBar=e.querySelector(".".concat(this.CSS_CLASS,"__top-bar")),this.paginationContainerEle&&this.paginationContainerEle.addEventListener("click",function(t){t.preventDefault(),(t.target.matches("button:not(:disabled, .".concat(i.CSS_CLASS,"__pagination-btn--active)"))||t.target.matches("a"))&&(e.querySelector(".".concat(i.CSS_CLASS,"__offset")).value=t.target.dataset.paginationButton,o.requestSubmit())})},[{key:"render",value:function(t,e){var n=t.find(function(t){return!0===t.active})?parseInt(t.find(function(t){return!0===t.active}).label):null;if(t&&t.length&&n){var r=t.splice(t.indexOf(t.find(function(t){return t.prev})),1)[0],i=t.splice(t.indexOf(t.find(function(t){return t.next})),1)[0],o=t.splice(0,1)[0],a=t.splice(t.length-1,1)[0],s=this.limit,c=Math.ceil(e/s);if(1!==c){var l,u=new pa(this.CSS_CLASS,r.label,r.offset,r.active,r.disabled,!0,!1),h=new pa(this.CSS_CLASS,i.label,i.offset,i.active,i.disabled,!1,!0),f=new pa(this.CSS_CLASS,"1",o.offset,1===n,!1),d=new pa(this.CSS_CLASS,c,c*s-s,n===c,n===c,!1);l="\n\t\t\t<ul>\n\t\t\t\t".concat(u?"<li>".concat(u.render(),"</li>"):"","\n\t\t\t\t",'<li class="'.concat(this.CSS_CLASS,'__pagination--sm">').concat(this.dictionary.pagination.replace(/\[X\]/,n).replace(/\[Y\]/,c),"</li>"),"\n\t\t\t\t").concat(f?ya(ba,this,wa).call(this,n,f):"","\n\t\t\t\t").concat(n-2<=0?"":ya(ba,this,xa).call(this,n,s,-2),"\n\t\t\t\t").concat(n-1<=0?"":ya(ba,this,xa).call(this,n,s,-1),"\n\t\t\t\t").concat(ya(ba,this,xa).call(this,n,s,0),"\n\t\t\t\t").concat(n+1>=c?"":ya(ba,this,xa).call(this,n,s,1),"\n\t\t\t\t").concat(n+2>=c||n+2===4?"":ya(ba,this,xa).call(this,n,s,2),"\n\t\t\t\t").concat(d&&c!==n?ya(ba,this,Sa).call(this,n,d,c,a):"","\n\t\t\t\t").concat(h?"<li>".concat(h.render(),"</li>"):"","\n\t\t\t</ul>"),this.paginationContainerEle.innerHTML=l}else this.paginationContainerEle.innerHTML=""}else this.paginationContainerEle.innerHTML=""}}])}();function xa(t,e,n){return'<li class="'.concat(this.CSS_CLASS,'__pagination--btn" data-offset-btn="').concat((t+n)
2*e-e,'">').concat(new pa(this.CSS_CLASS,t+n,(t+n)*e-e,0===n,!1,!1,!1).render(),"</li>")}function wa(t,e){var n="";return t>3&&(n='<li class="'.concat(this.CSS_CLASS,'__pagination--btn" data-offset-btn="0">').concat(e.render(),"</li>"),t>4&&(n+='<li class="'.concat(this.CSS_CLASS,'__pagination--btn">...</li>'))),n}function Sa(t,e,n,r){var i="";return(t<n-4||5===n)&&(i='<li class="'.concat(this.CSS_CLASS,'__pagination--btn">...</li>')),i+'<li class="'.concat(this.CSS_CLASS,'__pagination--btn" data-offset-btn="').concat(r.offset,'">').concat(e.render(),"</li>")}function Ea(t){return Ea="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ea(t)}function ka(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ca(r.key),r)}}function Ca(t){var e=function(t){if("object"!=Ea(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ea(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ea(e)?e:e+""}var Oa=new WeakSet,Aa=function(){return function(t,e){return e&&ka(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Oa),this.searchEle=e,this.CSS_CLASS=n,this.dictionary=r;var o=e.querySelector("form");this.offset=e.querySelector(".".concat(this.CSS_CLASS,"__offset")).value,this.searchBoxWrap=e.querySelectorAll(".".concat(this.CSS_CLASS,"__box-wrap")),this.searchBoxWrapContainerEle=e.querySelectorAll(".".concat(this.CSS_CLASS,"__box-wrap-results")),this.limit=e.querySelector(".".concat(this.CSS_CLASS,"__per-page")).value,this.searchBoxEle=o.querySelectorAll(".".concat(this.CSS_CLASS,"__box input")),this.currentSearch=null,this.searchBoxEle&&this.searchBoxEle.forEach(function(t){return t.addEventListener("change",function(){o.requestSubmit(),Array.from(o.querySelectorAll('input:not([type="hidden"]), select')).forEach(function(t){t.matches('[type="checkbox"],[type="radio"]')&&(t.checked=!1)}),e.querySelector(".".concat(i.CSS_CLASS,"__offset"))&&(e.querySelector(".".concat(i.CSS_CLASS,"__offset")).value=0)})})},[{key:"decodeSearchTerm",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=document.createElement("textarea");return e.innerHTML=t,e.value}},{key:"updateValue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.decodeSearchTerm(t);this.searchBoxEle.forEach(function(t){t.value=e})}},{key:"render",value:function(t){var e=function(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}(Oa,this,Ta).call(this,t);this.searchBoxWrapContainerEle.forEach(function(t){return t.innerHTML=e})}}])}();function Ta(t){var e=this.searchEle.dataset.results,n=t.pagination.find(function(t){return!0===t.active}),r=n?Math.floor(parseInt(n.offset)/parseInt(this.limit))+1:null,i=parseInt(t.resultTotal),o=parseInt(this.limit),a=Math.ceil(i/o),s=t.searchTerm;if(null===r)return"";var c=(r-1)*o+1,l=Math.min(r*o,i);return"events"===e?0===a?(this.searchBoxWrap.forEach(function(t){t.classList.add("d-none")}),""):"\n\t\t\t\t<p>\n\t\t\t\t\t".concat(this.dictionary.searchReturnEvents.replace(/\[W\]/,r).replace(/\[X\]/,a).replace(/\[Y\]/,c).replace(/\[Z\]/,l),"\n\t\t\t\t</p>"):"\n\t\t\t\t<p>\n\t\t\t\t\t".concat(0===a?this.dictionary.searchReturnNone.replace(/\[Q\]/,'"'.concat(s,'"')):s?"Page ".concat(r," of ").concat(a,' for "').concat(s,'"'):"Page ".concat(r," of ").concat(a),"\n\t\t\t\t</p>")}function La(t){return La="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},La(t)}function Pa(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ma(r.key),r)}}function Ma(t){var e=function(t){if("object"!=La(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=La(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==La(e)?e:e+""}var ja=function(){return function(t,e){return e&&Pa(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CSS_CLASS=r,this.searchEle=e,this.id=n,this.selectionsEle=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__selections-inner")),this.HAS_SELECTIONS="".concat(this.CSS_CLASS,"--selections")},[{key:"render",value:function(t){var e=this;if(this.selectionsEle){var n=!1,r="";if(t&&t.length){var i=this;r="<ul>\n\t\t\t\t".concat(t.map(function(t){return t.buckets.map(function(r){var o=Wi("".concat(i.id?i.id+"__":"").concat(t.name,"__").concat(r.value));return r.active&&(n=!0),r.active?'<li>\n\t\t\t\t\t\t<label tabindex="0" for="'.concat(o,'">').concat(r.title,'<span class="').concat(e.CSS_CLASS,'__facet-count"></span></label>\n\t\t\t\t\t</li>'):""}).join("")}).join(""),"\n\t\t\t</ul>")}n?this.searchEle.classList.add(this.HAS_SELECTIONS):this.searchEle.classList.remove(this.HAS_SELECTIONS),this.selectionsEle.innerHTML=n?r:""}}}])}();function Da(t){return Da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Da(t)}function Ia(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ra(r.key),r)}}function Ra(t){var e=function(t){if("object"!=Da(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Da(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Da(e)?e:e+""}function Na(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n(2712),n(8921),n(9449);var Fa=new WeakSet,Ba=function(){return function(t,e){return e&&Ia(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Fa),this.dataArray=e,this.cssClass},[{key:"render",value:function(){var t=this;return'\n\t\t\t<tr class="cmp-dynamic-table__row">\n\t\t\t\t'.concat(this.dataArray.map(function(e){return Na(Fa,t,Ga).call(t,e)}).join(""),"\n\t\t\t</tr>\n\t\t")}}])}();function za(t){switch(t.type){case"link":this.cssClass="copy-link";break;case"speakLink":this.cssClass="speech-bubble";break;case"commentLink":this.cssClass="keyboard";break;case"pdf":this.cssClass="pdf";break;case"video":this.cssClass="youtube";break;default:this.cssClass=""}}function Ha(t,e){if(null==t||""===t)return null;if(!e||!1===e||"false"===e)return t;var n=Number(t);
2return isNaN(n)?"":n.toLocaleString("en-US",{style:"currency",currency:"USD"})}function Va(t){var e,n;return'\n\t\t\t<td class="cmp-dynamic-table__data-cell" data-title="'.concat(t.title,'" data-label="').concat(t.title,'">\n\t\t\t').concat(t.linkUrl?'\n\t\t\t\t<a href="'.concat(t.linkUrl,'" target="_blank"> ').concat(null!==(e=t.content)&&void 0!==e?e:""," </a>\n\t\t\t\t"):null!==(n=Na(Fa,this,Ha).call(this,t.content,t.currency))&&void 0!==n?n:"","\n\t\t\t</td>\n\t\t")}function qa(t){var e,n;return'\n            <td class="cmp-dynamic-table__data-cell" data-title="'.concat(t.globalTitle,'" data-label="').concat(t.globalTitle,'">\n            ').concat(t.content?'\n                <a href="'.concat(t.content,'" target="_blank"> ').concat(null!==(e=t.globalTitle)&&void 0!==e?e:""," </a>\n                "):null!==(n=t.globalTitle)&&void 0!==n?n:"","\n            </td>\n        ")}function Wa(t){var e,n=new Date(t.content);if(t.hideTime){var r=t.dateDisplayFormat.replace("hh:mm a","");r.endsWith(",")&&(r=r.substring(0,r.lastIndexOf(","))),e=Na(Fa,this,$a).call(this,r)}else e=Na(Fa,this,$a).call(this,t.dateDisplayFormat);var i=n.toLocaleString("en-US",e).replace(" at ",", ");return null!=n?'\n\t\t\t<td class="cmp-dynamic-table__data-cell" data-title="'.concat(t.title,'" data-label="').concat(t.title,'">\n\t\t\t\t',"".concat(i),"\n\t\t\t</td>\n\t\t"):""}function Ua(t){return Na(Fa,this,za).call(this,t),' \n\t\t\t<td class="cmp-dynamic-table__data-cell" data-title="'.concat(t.title,'" data-label="').concat(t.title,'">\n\t\t\t\t').concat(t.content?'\n\t\t\t\t\t<div class="button btn-dynamic-table btn-icon btn-icon--'.concat(this.cssClass).concat(null==t.linkText||""==t.linkText?" btn-icon--only":"",'">\n\t\t\t\t\t\t<a class="cmp-button" href="').concat(t.linkUrl,'" target="_blank">\n\t\t\t\t\t\t\t<span class="cmp-button__text').concat(null==t.linkText||""==t.linkText?" visually-hidden":"",'">').concat(null==t.linkText||""==t.linkText?t.title:t.linkText,"</span>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t"):"","\n\t\t\t</td>\n\t\t")}function Ga(t){switch(t.type){case"text":case"tags":return Na(Fa,this,Va).call(this,t);case"date":return Na(Fa,this,Wa).call(this,t);case"link":case"speakLink":case"commentLink":case"pdf":case"video":return Na(Fa,this,Ua).call(this,t);case"tableAssetLink":return Na(Fa,this,qa).call(this,t);default:return}}function $a(t){var e={year:"numeric",month:"short",day:"numeric",timeZone:"America/Phoenix"};return t.includes("MMMMM")&&(e.month="long"),t.includes("hh:mm a")&&(e.hour="numeric",e.minute="numeric"),e}function Ya(t){return Ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ya(t)}function Ka(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Xa(r.key),r)}}function Xa(t){var e=function(t){if("object"!=Ya(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ya(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ya(e)?e:e+""}var Za=function(){return function(t,e){return e&&Ka(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i,o,a,s){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.title=e,this.key=n,this.sortKey=i,this.isSortable=r,this.activeSortKey=o,this.sortOrder=a,this.isLastSortableColumn=s},[{key:"render",value:function(){var t=this.isSortable?" cmp-dynamic-table__header--sortable":"",e=this.activeSortKey===this.sortKey?" cmp-dynamic-table__header--sortable--active cmp-dynamic-table__header--sortable--active--".concat(this.sortOrder):"",n=this.isLastSortableColumn?" cmp-dynamic-table__sort-link--last":"";return'\n\t\t<th scope="col" class="cmp-dynamic-table__header'.concat(t).concat(e,'">\n\t\t\t').concat(this.isSortable?'\n\t\t\t\t<a role="button" tabindex="0" class="cmp-dynamic-table__sort-link'.concat(n,'" data-sortable-column="').concat(this.key,'">\n\t\t\t\t\t<span class="cmp-dynamic-table__header-text">').concat(this.title,'</span>\n\t\t\t\t\t<span class="cmp-dynamic-table__sort-icon--').concat(this.sortOrder,' "></span><span class="visually-hidden">').concat(this.sortOrder,"</span>\n\t\t\t\t</a>\n\t\t\t"):'<span class="cmp-dynamic-table__header-text">'.concat(this.title,"</span>"),"\n\t\t</th>")}}])}();function Ja(t){return Ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ja(t)}function Qa(){var t=os(),e=t.m(Qa),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,ts(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(Qa=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new ss(t,e)},AsyncIterator:is,async:function(t,e,n,i,a){return(r(e)?rs:ns)(o(t),e,n,i,a)},keys:es,values:ts}})()}function ts(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(Ja(t)+" is not iterable")}function es(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function ns(t,e,n,r,i){var o=rs(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function rs(t,e,n,r,i){return new is(os().w(t,e,n,r),i||Promise)}function is(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof ss?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(as(is.prototype),as(is.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),as(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)}
2)}return r=r?r.then(a,a):a()},!0)}function os(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return as(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(as(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,as(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,as(h,"constructor",l),as(l,"constructor",c),c.displayName="GeneratorFunction",as(l,i,"GeneratorFunction"),as(h),as(h,i,"Generator"),as(h,r,function(){return this}),as(h,"toString",function(){return"[object Generator]"}),(os=function(){return{w:o,m:f}})()}function as(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}as=function(t,e,n,r){function o(e,n){as(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},as(t,e,n,r)}function ss(t,e){this.v=t,this.k=e}function cs(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function ls(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,us(r.key),r)}}function us(t){var e=function(t){if("object"!=Ja(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ja(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ja(e)?e:e+""}function hs(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var fs="linkUrl",ds=["pdf"],ps=new WeakSet,ms=function(){return function(t,e){return e&&ls(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,ps),this.searchEle=e,this.dictionary=n,this.CSS_CLASS=r,this.formEle=e.querySelector("form"),this.data,this.tableContainerEle=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__dynamic-table")),this.tableContainerEleMobile=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__dynamic-table--mobile")),this.openInNewTab=o,this.sortOrder=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__sort")).value,this.sortOrderId=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__sort")).name+this.searchEle.id,this.sortOrderDefault=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__sort")).dataset.default,this.orderbyId=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__orderby")).name+this.searchEle.id,this.orderby=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__orderby")).value,this.columnData=JSON.parse(this.searchEle.dataset.displayFields),this.noResultsElm=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__no-results"));var a=this.columnData.findLastIndex(function(t){return"true"===t.sortable}),s=new URLSearchParams(window.location.search);if("false"!==this.formEle.getAttribute("data-onload")&&s.size&&s.get(this.orderbyId)){var c=s.get(this.orderbyId),l=s.get(this.sortOrderId);this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__sort")).value=l,this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__orderby")).value=c,this.sortOrder=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__sort")).value,this.orderby=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__orderby")).value}this.columns=this.columnData.map(function(t,e){var n;return n=t.sortKey===i.orderby?i.sortOrder:i.sortOrderDefault,new Za(t.title,t.key,"true"===t.sortable,t.sortKey,i.orderby,n,e===a)})},[{key:"getNestedProperty",value:function(t,e){return null==e||""===e||e.indexOf(".")<=-1?null:e.split(".").reduce(function(t,e){if(t&&e in t)return t[e]},t)}},{key:"render",value:(t=function(t){return function(){var e=this,n=arguments;
2return new Promise(function(r,i){var o=t.apply(e,n);function a(t){cs(o,r,i,a,s,"next",t)}function s(t){cs(o,r,i,a,s,"throw",t)}a(void 0)})}}(Qa().mark(function t(e){var n;return Qa().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(hs(ps,this,vs).call(this,e),0!==e.length){t.next=8;break}return this.noResultsElm.classList.add("show"),this.tableContainerEle.classList.add("hide"),this.tableContainerEleMobile.classList.add("hide"),this.tableContainerEle.innerHTML="",this.tableContainerEleMobile.innerHTML="",t.abrupt("return");case 8:this.noResultsElm.classList.remove("show"),this.tableContainerEle.classList.remove("hide"),this.tableContainerEleMobile.classList.remove("hide"),n='\n\t\t\t<table class="cmp-dynamic-table__table">\n\t\t\t\t<thead class="cmp-dynamic-table__thead" data-apply-on-overflow=".cmp-dynamic-table__row" data-class="cmp-dynamic-table__thead--overflown" data-offset="0">\n\t\t\t\t\t<tr class="cmp-dynamic-table__row">\n\t\t\t\t\t\t'.concat(this.columns.map(function(t){return t.render()}).join(""),'\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<tbody class="cmp-dynamic-table__tbody">\n\t\t\t\t\t').concat(this.tableRows.map(function(t){return t.render()}).join(""),"\n\t\t\t\t</tbody>\n\t\t\t</table>"),this.tableContainerEle.innerHTML=n,hs(ps,this,gs).call(this);case 14:case"end":return t.stop()}},t,this)})),function(e){return t.apply(this,arguments)})}]);var t}();function gs(){var t=this;this.searchEle.querySelectorAll(".cmp-dynamic-table__sort-link").forEach(function(e){return e.addEventListener("click",function(e){var n=e.target.closest("[data-sortable-column]").dataset.sortableColumn,r=t.columns.find(function(t){return t.key===n});t.columns.forEach(function(e){e.activeSortKey=r.sortKey,e.sortKey===r.sortKey?e.sortOrder="desc"===r.sortOrder?"asc":"desc":e.sortOrder=t.sortOrderDefault}),t.searchEle.querySelector(".".concat(t.CSS_CLASS,"__sort")).value=r.sortOrder,t.searchEle.querySelector(".".concat(t.CSS_CLASS,"__orderby")).value=r.sortKey,t.formEle.requestSubmit()})})}function vs(t){var e=this;this.tableRows=t.map(function(t){var n=e.columnData.map(function(n,r){var i;if("tags"===n.type)t.tags.forEach(function(t,e){i=0===e?t.title:i+", "+t.title});else{var o=n.key.split(".");i=o.length>1?e.getNestedProperty(t,n.key):t[n.key]}var a={title:n.title,globalTitle:t.title,key:n.key,type:n.type,url:t.url,currency:n.isCurrency,linkText:n.linkInfo&&e.getNestedProperty(t,n.linkInfo.linkText)?e.getNestedProperty(t,n.linkInfo.linkText):"",linkUrl:n.linkInfo&&e.getNestedProperty(t,n.linkInfo.linkUrl)?e.getNestedProperty(t,n.linkInfo.linkUrl):"",dateDisplayFormat:n.dateDisplayFormat?n.dateDisplayFormat:"",hideTime:t.properties.hideTime,content:i};if(0===r&&t[fs]){var s=t[fs].split(".").pop();a.linkUrl=t[fs],a.openInNewTab=e.openInNewTab||ds.includes(s)}return a});return new Ba(n)})}function ys(t){return ys="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ys(t)}function bs(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,_s(r.key),r)}}function _s(t){var e=function(t){if("object"!=ys(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ys(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ys(e)?e:e+""}function xs(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var ws=new WeakSet,Ss=function(){return function(t,e){return e&&bs(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,ws),this.dataArray=e,this.cssClass,this.dictionary=n},[{key:"render",value:function(t){var e=this;return'\n\t\t\t<div class="cmp-dynamic-table__row">\n\t\t\t\t<div class="cmp-dynamic-table__row--header">\n\t\t\t\t\t'.concat(this.dataArray.slice(0,2).map(function(t){return xs(ws,e,Ls).call(e,t,!0)}).join(""),'\n\t\t\t\t\t<div class="cmp-dynamic-table__data-cell cmp-dynamic-table__data-cell--button">\n\t\t\t\t\t\t<div class="button btn-minimal">\n\t\t\t\t\t\t\t<button class="cmp-button collapse collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#').concat(t,'" aria-expanded="false" aria-controls="').concat(t,'">\n\t\t\t\t\t\t\t\t<span class="visually-hidden">').concat(this.dictionary.seeMore,'</span>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="collapse" id="').concat(t,'">\n\t\t\t\t\t<div class="cmp-dynamic-table__wrap">\n\t\t\t\t\t\t<table>\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t\t').concat(this.dataArray.slice(2,this.dataArray.length).map(function(t){return xs(ws,e,Ls).call(e,t,!1)}).join(""),"\n\t\t\t\t\t\t\t</tbody>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t")}}])}();function Es(t){switch(t.type){case"link":this.cssClass="copy-link";break;case"speakLink":this.cssClass="speech-bubble";break;case"commentLink":this.cssClass="keyboard";break;case"pdf":this.cssClass="pdf";break;case"video":this.cssClass="youtube";break;default:this.cssClass=""}}function ks(t,e){if(null==t||""===t)return null;if(!e||!1===e||"false"===e)return t;var n=Number(t);
2return isNaN(n)?"":n.toLocaleString("en-US",{style:"currency",currency:"USD"})}function Cs(t,e){var n,r,i="";if(e)i="\n\t\t\t<div class=\"cmp-dynamic-table__data-cell\">\n\t\t\t\t<span class='visually-hidden'>".concat(t.title,"</span>\n\t\t\t\t").concat(t.linkUrl?'\n\t\t\t\t\t<a href="'.concat(t.linkUrl,'" target="_blank"> ').concat(null!==(n=t.content)&&void 0!==n?n:"","</a>\n\t\t\t\t\t"):null!==(r=xs(ws,this,ks).call(this,t.content,t.currency))&&void 0!==r?r:"","\n\t\t\t</div>\n\t\t");else if(t.content){var o,a;i="\n\t\t\t<tr>\n\t\t\t\t<th scope='row'>".concat(t.title,":</th>\n\t\t\t\t<td>\n\t\t\t\t").concat(t.linkUrl?'\n\t\t\t\t\t<a href="'.concat(t.linkUrl,'" target="_blank"> ').concat(null!==(o=t.content)&&void 0!==o?o:""," </a>\n\t\t\t\t\t"):null!==(a=xs(ws,this,ks).call(this,t.content,t.currency))&&void 0!==a?a:"","\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t")}return i}function Os(t,e){var n,r,i="";if(e)i="\n\t\t\t<div class=\"cmp-dynamic-table__data-cell\">\n\t\t\t<span class='visually-hidden'>".concat(t.title,"</span>\n\t\t\t").concat(t.content?'\n\t\t\t\t<a href="'.concat(t.content,'" target="_blank"> ').concat(null!==(n=t.globalTitle)&&void 0!==n?n:""," </a>\n\t\t\t\t"):null!==(r=t.globalTitle)&&void 0!==r?r:"","\n\t\t\t</div>");else if(t.content){var o,a;i="\n\t\t\t<tr>\n\t\t\t\t<th scope='row'>".concat(t.title,":</th>\n\t\t\t\t<td>\n\t\t\t\t").concat(t.content?'\n\t\t\t\t\t<a href="'.concat(t.content,'" target="_blank">').concat(null!==(o=t.globalTitle)&&void 0!==o?o:"","</a>\n\t\t\t\t\t"):null!==(a=t.globalTitle)&&void 0!==a?a:"","\n\t\t\t\t</td>\n\t\t\t</tr>")}return i}function As(t,e){var n=new Date(t.content),r=xs(ws,this,Ps).call(this,t.dateDisplayFormat),i=n.toLocaleString("en-US",r).replace(" at ",", "),o="";return e&&null!=n?o="\n\t\t\t\t<div class=\"cmp-dynamic-table__data-cell\">\n\t\t\t\t\t<span class='visually-hidden'>".concat(t.title,"</span>\n\t\t\t\t\t","".concat(i),"\n\t\t\t\t</div>\n\t\t\t"):null!=n&&(o="\n\t\t\t<tr>\n\t\t\t\t<th scope='row'>".concat(t.title,":</th>\n\t\t\t\t<td>\n\t\t\t\t\t","".concat(i),"\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t")),o}function Ts(t,e){var n;return xs(ws,this,Es).call(this,t),e?n='\n\t\t\t<div class="cmp-dynamic-table__data-cell">\n\t\t\t\t'.concat(t.content?'\n\t\t\t\t\t<div class="button btn-dynamic-table btn-icon btn-icon--'.concat(this.cssClass).concat(null==t.linkText||""==t.linkText?" btn-icon--only":"","\">\n\t\t\t\t\t\t<span class='visually-hidden'>").concat(t.title,'</span>\n\t\t\t\t\t\t<a class="cmp-button" href="').concat(t.linkUrl,'" target="_blank">\n\t\t\t\t\t\t\t<span class="cmp-button__text').concat(null==t.linkText||""==t.linkText?" visually-hidden":"",'">').concat(null==t.linkText||""==t.linkText?t.title:t.linkText,"</span>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t"):"","\n\t\t\t</div>"):t.content&&(n="\n\t\t\t<tr>\n\t\t\t\t<th scope='row'>".concat(t.title,":</th>\n\t\t\t\t<td>\n\t\t\t\t\t").concat(t.content?'\n\t\t\t\t\t\t<div class="button btn-dynamic-table btn-icon btn-icon--'.concat(this.cssClass).concat(null==t.linkText||""==t.linkText?" btn-icon--only":"",'">\n\t\t\t\t\t\t\t<a class="cmp-button" href="').concat(t.linkUrl,'" target="_blank">\n\t\t\t\t\t\t\t\t<span class="cmp-button__text').concat(null==t.linkText||""==t.linkText?" visually-hidden":"",'">').concat(null==t.linkText||""==t.linkText?t.title:t.linkText,"</span>\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t"):"","\n\t\t\t\t</td>\n\t\t\t</tr>")),n}function Ls(t,e){switch(t.type){case"text":case"tags":return xs(ws,this,Cs).call(this,t,e);case"date":return xs(ws,this,As).call(this,t,e);case"link":case"speakLink":case"commentLink":case"pdf":case"video":return xs(ws,this,Ts).call(this,t,e);case"tableAssetLink":return xs(ws,this,Os).call(this,t,e);default:return}}function Ps(t){var e={year:"numeric",month:"short",day:"numeric",timeZone:"America/Phoenix"};return"MMMMM d, yyyy"!=t&&"MMMMM d, yyyy, hh:mm a"!=t||(e.month="long"),"MMM'.' d, yyyy, hh:mm a"!=t&&"MMMMM d, yyyy, hh:mm a"!=t||(e.hour="numeric",e.minute="numeric"),e}function Ms(t){return Ms="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ms(t)}function js(){var t=Bs(),e=t.m(js),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,Ds(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(js=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new Hs(t,e)},AsyncIterator:Fs,async:function(t,e,n,i,a){return(r(e)?Ns:Rs)(o(t),e,n,i,a)},keys:Is,values:Ds}})()}function Ds(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(Ms(t)+" is not iterable")}function Is(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function Rs(t,e,n,r,i){var o=Ns(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function Ns(t,e,n,r,i){return new Fs(Bs().w(t,e,n,r),i||Promise)}function Fs(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof Hs?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(zs(Fs.prototype),zs(Fs.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),zs(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)}
2)}return r=r?r.then(a,a):a()},!0)}function Bs(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return zs(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(zs(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,zs(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,zs(h,"constructor",l),zs(l,"constructor",c),c.displayName="GeneratorFunction",zs(l,i,"GeneratorFunction"),zs(h),zs(h,i,"Generator"),zs(h,r,function(){return this}),zs(h,"toString",function(){return"[object Generator]"}),(Bs=function(){return{w:o,m:f}})()}function zs(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}zs=function(t,e,n,r){function o(e,n){zs(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},zs(t,e,n,r)}function Hs(t,e){this.v=t,this.k=e}function Vs(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function qs(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Ws(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Us(r.key),r)}}function Us(t){var e=function(t){if("object"!=Ms(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ms(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ms(e)?e:e+""}function Gs(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var $s="linkUrl",Ys=["pdf"],Ks=new WeakSet,Xs=function(){return function(t,e){return e&&Ws(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Ks),this.searchEle=e,this.dictionary=n,this.CSS_CLASS=r,this.formEle=e.querySelector("form"),this.data,this.tableContainerEle=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__dynamic-table--mobile")),this.openInNewTab=i,this.columnData=JSON.parse(this.searchEle.dataset.displayFields),this.columns=function(t){return function(t){if(Array.isArray(t))return qs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return qs(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qs(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.columnData)},[{key:"getNestedProperty",value:function(t,e){return null==e||""===e||e.indexOf(".")<=-1?null:e.split(".").reduce(function(t,e){if(t&&e in t)return t[e]},t)}},{key:"render",value:(t=function(t){return function(){var e=this,n=arguments;
2return new Promise(function(r,i){var o=t.apply(e,n);function a(t){Vs(o,r,i,a,s,"next",t)}function s(t){Vs(o,r,i,a,s,"throw",t)}a(void 0)})}}(js().mark(function t(e){var n;return js().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:Gs(Ks,this,Js).call(this,e),this.header=this.columns.slice(0,2),n='\n\t\t\t<div class="cmp-dynamic-table">\n\t\t\t\t<div class="cmp-dynamic-table__header">\n\t\t\t\t\t'.concat(this.header.map(function(t){return'<span class="cmp-dynamic-table__data-cell cmp-dynamic-table__header-text">'.concat(t.title,"</span>")}).join(""),"\n\t\t\t\t</div>\n\t\t\t\t<div>\n\t\t\t\t\t").concat(this.tableRows.map(function(t,e){var n="table-row-"+e;return t.render(n)}).join(""),"\n\t\t\t\t</div>\n\t\t\t</div>"),this.tableContainerEle.innerHTML=n,Gs(Ks,this,Zs).call(this);case 5:case"end":return t.stop()}},t,this)})),function(e){return t.apply(this,arguments)})}]);var t}();function Zs(){var t=this;this.searchEle.querySelectorAll("button").forEach(function(e){return e.addEventListener("click",function(e){var n=e.target,r=e.target.querySelector("span");n.classList.contains("collapsed")?r.innerText=t.dictionary.seeMore:r.innerText=t.dictionary.seeLess})})}function Js(t){var e=this;this.tableRows=t.map(function(t){var n=e.columnData.map(function(n,r){var i;if("tags"===n.type)t.tags.forEach(function(t,e){i=0===e?t.title:i+", "+t.title});else{var o=n.key.split(".");i=o.length>1?e.getNestedProperty(t,n.key):t[n.key]}var a={title:n.title,globalTitle:t.title,key:n.key,type:n.type,url:t.url,currency:n.isCurrency,linkText:n.linkInfo&&e.getNestedProperty(t,n.linkInfo.linkText)?e.getNestedProperty(t,n.linkInfo.linkText):"",linkUrl:n.linkInfo&&e.getNestedProperty(t,n.linkInfo.linkUrl)?e.getNestedProperty(t,n.linkInfo.linkUrl):"",dateDisplayFormat:n.dateDisplayFormat?n.dateDisplayFormat:"",content:i};if(0===r&&t[$s]){var s=t[$s].split(".").pop();a.linkUrl=t[$s],a.openInNewTab=e.openInNewTab||Ys.includes(s)}return a});return new Ss(n,e.dictionary)})}n(4864);var Qs=n(2912),tc=n.n(Qs);function ec(t){return ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ec(t)}function nc(){var t=cc(),e=t.m(nc),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,rc(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(nc=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new uc(t,e)},AsyncIterator:sc,async:function(t,e,n,i,a){return(r(e)?ac:oc)(o(t),e,n,i,a)},keys:ic,values:rc}})()}function rc(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(ec(t)+" is not iterable")}function ic(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function oc(t,e,n,r,i){var o=ac(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function ac(t,e,n,r,i){return new sc(cc().w(t,e,n,r),i||Promise)}function sc(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof uc?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(lc(sc.prototype),lc(sc.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),lc(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)}
2)}return r=r?r.then(a,a):a()},!0)}function cc(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return lc(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(lc(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,lc(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,lc(h,"constructor",l),lc(l,"constructor",c),c.displayName="GeneratorFunction",lc(l,i,"GeneratorFunction"),lc(h),lc(h,i,"Generator"),lc(h,r,function(){return this}),lc(h,"toString",function(){return"[object Generator]"}),(cc=function(){return{w:o,m:f}})()}function lc(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}lc=function(t,e,n,r){function o(e,n){lc(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},lc(t,e,n,r)}function uc(t,e){this.v=t,this.k=e}function hc(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function fc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,dc(r.key),r)}}function dc(t){var e=function(t){if("object"!=ec(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ec(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ec(e)?e:e+""}function pc(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var mc=new WeakSet,gc=function(){return function(t,e){return e&&fc(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,mc),this.element=e,this.inputId="".concat(e.id,"-input"),this.searchService=n,this.data=null,this.displayedResultsCount=0,this.submitButton=this.element.querySelector('button[type="submit"]'),this.init()},[{key:"setupAutocomplete",value:function(){tc()({element:this.element.querySelector(".search-autocomplete__wrapper"),id:this.inputId,displayMenu:"overlay",placeholder:"Search Phoenix.gov",minLength:3,name:"qPhoenixSearch",showNoOptionsFound:!0,source:pc(mc,this,vc).bind(this),menuAttributes:{"aria-labelledby":this.inputId},templates:{inputValue:pc(mc,this,bc).bind(this),suggestion:pc(mc,this,_c).bind(this)},onConfirm:function(t){t&&t.url&&(window.location.href=t.url)}})}},{key:"init",value:function(){var t=this;this.element&&(this.setupAutocomplete(),this.submitButton.addEventListener("click",function(e){e.preventDefault(),t.element.submit()}),document.querySelectorAll(".autocomplete__input").forEach(function(t){t.addEventListener("keydown",function(e){if("Enter"===e.key){e.preventDefault();var n=t.closest("form");n&&n.submit()}})}))}}])}();function vc(t,e){return yc.apply(this,arguments)}function yc(){return yc=function(t){return function(){var e=this,n=arguments;
2return new Promise(function(r,i){var o=t.apply(e,n);function a(t){hc(o,r,i,a,s,"next",t)}function s(t){hc(o,r,i,a,s,"throw",t)}a(void 0)})}}(nc().mark(function t(e,n){var r,i,o,a;return nc().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.searchService.makePublicRequest();case 3:r=t.sent,this.data=r,i=this.element.getAttribute("action"),o=r.results,a=o.slice(0,5),this.displayedResultsCount=a.length,a.push({viewAll:!0,url:"".concat(i,"?qPhoenixSearch=").concat(e),title:"View all results"}),n(a),t.next=15;break;case 13:t.prev=13,t.t0=t.catch(0);case 15:case"end":return t.stop()}},t,this,[[0,13]])})),yc.apply(this,arguments)}function bc(t){return t&&t.title}function _c(t){var e=this.element.querySelector(".autocomplete__menu");e.classList.remove("autocomplete__menu--view-all");var n={".pdf":"pdf",".docx":"word",".xlsx":"excel",".csv":"csv"},r=Object.keys(n).find(function(e){return t.url.endsWith(e)}),i=this.element.querySelector(".autocomplete__input").value;i&&""!==i&&(i=encodeURIComponent(i.trim()));var o,a=this.element.getAttribute("action"),s=new RegExp("(".concat(i,")"),"gi"),c=t.title.replace(s,'<span class="autocomplete__highlight">$1</span>');if(1!=t.viewAll)o=t&&"<p>".concat(c,"</p> ").concat(r?'<p class="autocomplete__type autocomplete__type--'.concat(n[r],'"><span class="visually-hidden">').concat(n[r],"</span></p>"):"");else{e.classList.add("autocomplete__menu--view-all");var l=this.data.resultTotal,u=this.displayedResultsCount;o=t&&"<span>Showing ".concat(u," of ").concat(l,' results</span>\n\t\t\t\t<div class="button btn-link btn-arrow">\n\t\t\t\t\t<a id="" class="cmp-button" data-cmp-clickable="" data-cmp-data-layer="" href=\'').concat(a,"?qPhoenixSearch=").concat(i,'\'>\n\t\t\t\t\t\t<span class="cmp-button__text">View all results</span>\n\t\t\t\t\t\t<div class="cmp-animated-arrow__container" aria-hidden="true">\n\t\t\t\t\t\t\t<span class="cmp-animated-arrow"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</a>\n\t\t\t\t</div>')}return o}function xc(t){return xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xc(t)}function wc(t){return function(t){if(Array.isArray(t))return Sc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Sc(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sc(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Ec(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,kc(r.key),r)}}function kc(t){var e=function(t){if("object"!=xc(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=xc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==xc(e)?e:e+""}function Cc(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n(6449),n(3514),n(1415);var Oc=new WeakSet,Ac=function(){return function(t,e){return e&&Ec(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Oc),this.searchEle=e,this.CSS_CLASS=n,this.data="",this.limit=e.querySelector(".".concat(this.CSS_CLASS,"__per-page"))?e.querySelector(".".concat(this.CSS_CLASS,"__per-page")).value:"",this.offset=e.querySelector(".".concat(this.CSS_CLASS,"__offset"))?e.querySelector(".".concat(this.CSS_CLASS,"__per-page")).value:"",this.currentPage,this.term,this.searchResultPages,this.resultPosition=null,this.facet,this.filtered},[{key:"getActiveFacets",value:function(t,e){var n=[];
2return t.facets&&t.facets.map(function(t){t.buckets.forEach(function(r){var i=!0===r.active;i&&"bucket"===e?n.push([t.name]):i&&n.push([r.title])})}),n.flat()}},{key:"getPagination",value:function(t){var e=null;return t.pagination&&t.pagination.find(function(t){return!0===t.active})&&(e=parseInt(t.pagination.find(function(t){return!0===t.active}).label)),e}},{key:"getData",value:function(t){this.data=t,this.currentPage=this.getPagination(t),this.term=this.data.searchTerm&&this.data.searchTerm.length?this.data.searchTerm:null,this.searchResultPages=this.limit&&this.limit.length?Math.ceil(t.resultTotal/this.limit):null,this.facet=this.getActiveFacets(t)?wc(new Set(this.getActiveFacets(t,"bucket"))):null,this.filtered=this.getActiveFacets(t)?wc(new Set(this.getActiveFacets(t))):null,this.pushSearchResults()}},{key:"pushSearchResults",value:function(){var t={event:"search_results",id:this.searchEle.id,internal_search:{term:this.term,search_result_pages:this.searchResultPages,search_results:this.data,result_page:this.currentPage},filters:{facet:this.facet,filter_value:this.filtered,type:"Internal Search"}};Cc(Oc,this,Tc).call(this,t)}},{key:"pushEventResultClick",value:function(t){var e={event:"search_results_click",id:this.searchEle.id,internal_search:{result_position:t,result_page:this.currentPage}};Cc(Oc,this,Tc).call(this,e)}},{key:"pushEventFilterClick",value:function(t,e){var n={event:"filter_update",id:this.searchEle.id,filters:{facet:t,filter_value:e,type:"Internal Search"}};Cc(Oc,this,Tc).call(this,n)}}])}();function Tc(t){"undefined"!=typeof adobeDataLayer&&adobeDataLayer.push(t)}function Lc(t){return Lc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lc(t)}function Pc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||Mc(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mc(t,e){if(t){if("string"==typeof t)return jc(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jc(t,e):void 0}}function jc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Dc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ic(r.key),r)}}function Ic(t){var e=function(t){if("object"!=Lc(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Lc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Lc(e)?e:e+""}function Rc(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var Nc=new WeakSet,Fc=function(){return function(t,e){return e&&Dc(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Nc),this.searchEle=e,this.CSS_CLASS=r,this.dateInput=this.searchEle.querySelector('input[type="date"]');var o=this.searchEle.querySelector("form");this.setLoading=Rc(Nc,this,Bc).bind(this),this.setError=Rc(Nc,this,zc).bind(this),this.success=Rc(Nc,this,Hc).bind(this),this.fetchResults=this.fetchResults.bind(this),this.resultsTemplate=this.searchEle.dataset.results;var a=n>=1?this.searchEle.id:null;this.service=new Or(a,o,{loading:this.setLoading,error:this.setError,success:this.success}),this.layout=new qr(o,this.CSS_CLASS),this.adobePush=new Ac(this.searchEle,this.CSS_CLASS);var s=Rc(Nc,this,Wc).call(this);this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__dynamic-table"))?(this.table=new ms(this.searchEle,s,this.CSS_CLASS),this.mobileTable=new Xs(this.searchEle,s,this.CSS_CLASS)):this.results=new vo(this.searchEle,s,this.CSS_CLASS,this.adobePush),"recycling"===this.resultsTemplate&&this.searchEle.querySelector(".cmp-dialog__result-modal")&&(this.resultModal=new Wo(this.searchEle,s)),this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__facets"))&&(this.facets=new aa(this.searchEle,this.CSS_CLASS,a,s,this.adobePush)),this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__pagination"))&&(this.pagination=new _a(this.searchEle,this.CSS_CLASS,s)),(this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__box-wrap"))||this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__box")))&&(this.searchBox=new Aa(this.searchEle,this.CSS_CLASS,s)),this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__selections "))&&(this.selections=new ja(this.searchEle,a,this.CSS_CLASS)),this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__autocomplete"))&&this.searchEle.querySelectorAll(".".concat(this.CSS_CLASS,"__autocomplete")).forEac
2h(function(t){new gc(t,i.service)}),this.dateInput&&this.dateInput.addEventListener("change",function(){e.querySelector(".".concat(i.CSS_CLASS,"__offset"))&&(e.querySelector(".".concat(i.CSS_CLASS,"__offset")).value=0),o.requestSubmit()}),o.addEventListener("submit",function(t){t.preventDefault(),i.fetchResults().then(function(){Rc(Nc,i,qc).call(i)}).catch(function(t){console.error("Error fetching results:",t)})}),o.addEventListener("reset",function(t){t.preventDefault();var n,r=new URLSearchParams(window.location.search),a=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Mc(t))){e&&(t=e);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==e.return||e.return()}finally{if(a)throw i}}}}(r.entries());try{for(a.s();!(n=a.n()).done;){var s=Pc(n.value,1)[0];r.delete(s)}}catch(t){a.e(t)}finally{a.f()}Array.from(o.querySelectorAll('input:not([type="hidden"]), select, textarea')).forEach(function(t){t.matches('[type="checkbox"],[type="radio"]')?t.checked=!1:t.value=""}),e.querySelector(".".concat(i.CSS_CLASS,"__offset"))&&(e.querySelector(".".concat(i.CSS_CLASS,"__offset")).value=0),i.selections&&i.selections.render([]),i.fetchResults().then(function(){Rc(Nc,i,qc).call(i)}).catch(function(t){console.error("Error fetching results:",t)})})},[{key:"fetchResults",value:function(){var t=this;return new Promise(function(e,n){var r=t.service.events.success;t.service.events.success=function(t){r(t),e(t)},t.service.fetchResults()})}}])}();function Bc(t){t?this.searchEle.setAttribute("aria-busy",!0):this.searchEle.removeAttribute("aria-busy")}function zc(t,e){var n="".concat(this.CSS_CLASS,"--error");t?(this.searchEle.classList.add(n),e&&console.error("there was an error",e)):this.searchEle.classList.remove(n)}function Hc(t){this.adobePush&&this.adobePush.getData(t),this.table?(this.table.render(t.results),this.mobileTable.render(t.results)):this.results.render(t.results,t.featuredResults?t.featuredResults:[],t.suggestions?t.suggestions:[]),this.facets&&this.facets.render(t.facets),this.pagination&&this.pagination.render(t.pagination,t.resultTotal),this.searchBox&&(this.searchBox.updateValue(t.searchTerm),this.searchBox.render(t)),this.selections&&this.selections.render(t.facets),Rc(Nc,this,Vc).call(this,t)}function Vc(t){var e=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__featured-searches"));if(e){var n=this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__offset")),r=!n||0===Number(n.value);e.hidden=Boolean(t.searchTerm)||!r}}function qc(){"events"===this.resultsTemplate&&addeventatc&&"function"==typeof addeventatc.refresh&&addeventatc.refresh()}function Wc(){var t;try{t=JSON.parse(this.searchEle.querySelector(".".concat(this.CSS_CLASS,"__dictionary")).textContent)}catch(e){t={seeMore:"See More",seeLess:"See Less",selections:"Your Selections",clearSelections:"Clear All",prev:"Previous",next:"Next",latest:"latest",defaultCTAText:"Learn more"}}return t}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);var Uc=document.createElement("script");Uc.src="https://www.youtube.com/iframe_api";var Gc=document.getElementsByTagName("script")[0];function $c(t){return $c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$c(t)}function Yc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Kc(r.key),r)}}function Kc(t){var e=function(t){if("object"!=$c(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=$c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==$c(e)?e:e+""}Gc.parentNode.insertBefore(Uc,Gc),document.querySelectorAll("[data-youtube-video]").forEach(function(t){return new nr(t,t.dataset.videoId,t.dataset.title,t.dataset.alt,t.dataset.lazyLoad)});var Xc=function(){return function(t,e){return e&&Yc(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.collapseToggleEls=e,this.setupListeners()},[{key:"toggleButtonText",value:function(t){var e=t.classList.contains("collapsed")?"data-collapsed-text":"data-expanded-text";t.innerText=t.getAttribute(e)}},{key:"setupListeners",value:function(){var t=this;
2this.collapseToggleEls.forEach(function(e){e.addEventListener("click",function(){t.toggleButtonText(e)})})}}])}();function Zc(t){return Zc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zc(t)}function Jc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Qc(r.key),r)}}function Qc(t){var e=function(t){if("object"!=Zc(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Zc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Zc(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll('[data-bs-toggle="collapse"][data-expanded-text]');0!==t.length&&new Xc(t)});var tl=function(){return function(t,e){return e&&Jc(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.SHOW_NUM=6,this.SPACING_BASE=16,this.CSS_NO_COLLAPSE="noCollapse",this.isOpen=!1,this.collapseEl=e,this.collapseToggleEl=e.querySelector("button"),this.text=this.collapseEl.querySelector("ul"),this.items=this.text.querySelectorAll("li"),this.init()},[{key:"init",value:function(){var t=this;if(this.collapseToggleEl){if(this.items.length<=this.SHOW_NUM)return this.collapseEl.classList.add(this.CSS_NO_COLLAPSE),void this.collapseToggleEl.classList.add("d-none");this.toggleItemVisibilityAccessible(!0),this.text.style.maxHeight="".concat(this.getInitialHeight()-this.SPACING_BASE,"px"),this.collapseToggleEl.addEventListener("click",function(){return t.toggleButtonText(t.collapseToggleEl)});var e=qi(this.resizeHandler.bind(this),500);window.addEventListener("resize",e),this.resizeHandler()}else this.collapseEl.classList.add(this.CSS_NO_COLLAPSE)}},{key:"resizeHandler",value:function(){this.isOpen=!0,this.toggleButtonText(this.collapseToggleEl)}},{key:"toggleButtonText",value:function(){var t=this.getInitialHeight()-this.SPACING_BASE,e=this.text.scrollHeight,n=this.isOpen?e:t,r=this.isOpen?t:e;this.applyTransition(n,r),this.updateButtonAccessibility(this.isOpen),this.isOpen=!this.isOpen}},{key:"applyTransition",value:function(t,e){var n=this;this.text.style.maxHeight="".concat(t,"px"),this.text.offsetHeight,this.text.style.transition="max-height 0.5s ease",this.text.style.maxHeight="".concat(e,"px"),this.isOpen||this.text.addEventListener("transitionend",function(){n.text.style.maxHeight="none"},{once:!0})}},{key:"updateButtonAccessibility",value:function(t){var e=t?"data-collapsed-text":"data-expanded-text";this.collapseToggleEl.innerText=this.collapseToggleEl.getAttribute(e),this.collapseToggleEl.setAttribute("aria-expanded",!t),this.toggleItemVisibilityAccessible(!t)}},{key:"toggleItemVisibilityAccessible",value:function(t){var e=this;this.items.forEach(function(n,r){var i=r>=e.SHOW_NUM;n.setAttribute("aria-hidden",i&&t?"true":"false"),n.querySelectorAll("a").forEach(function(e){return e.setAttribute("tabindex",i&&t?-1:0)})})}},{key:"getInitialHeight",value:function(){var t=this.text.querySelectorAll("li:nth-child(-n+".concat(this.SHOW_NUM,")"));return Array.from(t).reduce(function(t,e){return t+e.offsetHeight},0)}}])}();function el(t){return el="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},el(t)}function nl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,rl(r.key),r)}}function rl(t){var e=function(t){if("object"!=el(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=el(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==el(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".collapse-container");0!==t.length&&t.forEach(function(t){return new tl(t)})});var il=function(){return function(t,e){return e&&nl(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.init()},[{key:"getStoredTheme",value:function(){return localStorage.getItem("theme")}},{key:"setStoredTheme",value:function(t){localStorage.setItem("theme",t)}}
2,{key:"getPreferredTheme",value:function(){return this.getStoredTheme()||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}},{key:"setTheme",value:function(t){"auto"===t?document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"):document.documentElement.setAttribute("data-bs-theme",t)}},{key:"showActiveTheme",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.querySelector("#bd-theme");if(n){var r=document.querySelector("#bd-theme-text"),i=document.querySelector(".theme-icon-active use"),o=document.querySelector('[data-bs-theme-value="'.concat(t,'"]')),a=o.querySelector("svg use").getAttribute("href");document.querySelectorAll("[data-bs-theme-value]").forEach(function(t){t.classList.remove("active"),t.setAttribute("aria-pressed","false")}),o.classList.add("active"),o.setAttribute("aria-pressed","true"),i.setAttribute("href",a);var s="".concat(r.textContent," (").concat(o.dataset.bsThemeValue,")");n.setAttribute("aria-label",s),e&&n.focus()}}},{key:"init",value:function(){var t=this;this.setTheme(this.getPreferredTheme()),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",function(){var e=t.getStoredTheme();"light"!==e&&"dark"!==e&&t.setTheme(t.getPreferredTheme())}),this.showActiveTheme(this.getPreferredTheme()),document.querySelectorAll('.button[data-theme-toggle="true"] button').forEach(function(e){e.addEventListener("click",function(){var e;e="dark"===document.documentElement.getAttribute("data-bs-theme")?"light":"dark",t.setStoredTheme(e),t.setTheme(e),t.showActiveTheme(e,!0)})})}}])}();function ol(t){return ol="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ol(t)}function al(){var t=fl(),e=t.m(al),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,sl(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(al=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new pl(t,e)},AsyncIterator:hl,async:function(t,e,n,i,a){return(r(e)?ul:ll)(o(t),e,n,i,a)},keys:cl,values:sl}})()}function sl(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(ol(t)+" is not iterable")}function cl(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function ll(t,e,n,r,i){var o=ul(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function ul(t,e,n,r,i){return new hl(fl().w(t,e,n,r),i||Promise)}function hl(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof pl?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(dl(hl.prototype),dl(hl.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),dl(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)})}return r=r?r.then(a,a):a()},!0)}function fl(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return dl(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");
2if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(dl(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,dl(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,dl(h,"constructor",l),dl(l,"constructor",c),c.displayName="GeneratorFunction",dl(l,i,"GeneratorFunction"),dl(h),dl(h,i,"Generator"),dl(h,r,function(){return this}),dl(h,"toString",function(){return"[object Generator]"}),(fl=function(){return{w:o,m:f}})()}function dl(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}dl=function(t,e,n,r){function o(e,n){dl(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},dl(t,e,n,r)}function pl(t,e){this.v=t,this.k=e}function ml(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function gl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,vl(r.key),r)}}function vl(t){var e=function(t){if("object"!=ol(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ol(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ol(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){document.querySelector('.button[data-theme-toggle="true"]')&&new il});var yl,bl=function(){return function(t,e){return e&&gl(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.checkGoogleTranslateApi().then(function(){e.initTranslateElement(),e.addSelectorListener(),e.autoTranslateUserLang()}).catch(function(t){console.error("Failed to load Google Translate API:",t)})},[{key:"checkGoogleTranslateApi",value:(t=function(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(t){ml(o,r,i,a,s,"next",t)}function s(t){ml(o,r,i,a,s,"throw",t)}a(void 0)})}}(al().mark(function t(){var e;return al().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0,t.abrupt("return",new Promise(function(t,n){var r=setInterval(function(){"undefined"!=typeof google&&google.translate&&google.translate.TranslateElement?(clearInterval(r),t()):e>=20&&(clearInterval(r),n(new Error("Google Translate API not loaded."))),e++},200)}));case 4:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)})},{key:"initTranslateElement",value:function(){new google.translate.TranslateElement({pageLanguage:"en",autoDisplay:!1},"googleTranslateElement")}},{key:"getCurrentLang",value:function(){var t=document.cookie.match("(^|;) ?googtrans=([^;]*)(;|$)");return t?t[2].split("/")[2]:null}},{key:"fireEvent",value:function(t,e){try{if(document.createEventObject){var n=document.createEventObject();t.fireEvent("on"+e,n)}else{var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}}catch(t){}}},{key:"doTranslate",value:function(t){var e=this;t.value&&(t=t.value);var n=t.split("|")[1];if(null!==this.getCurrentLang()||n!==t.split("|")[0]){for(var r,i=document.getElementsByTagName("select"),o=0;o<i.length;o++)if(-1!==i[o].className.indexOf("goog-te-combo")){r=i[o];break}null===document.getElementById("googleTranslateElement")||0===document.getElementById("googleTranslateElement").innerHTML.length||0===r.length||0===r.innerHTML.length?setTimeout(function(){e.doTranslate(t)},500):(r.value=n,this.fireEvent(r,"change"))}}},{key:"addSelectorListener",value:function(){var t=this,e=document.querySelectorAll(".btn-translate select"),n=document.querySelector(".btn-translate--primary select"),r=document.querySelectorAll(".btn-translate--secondary select");n.addEventListener("change",function(){t.doTranslate(n.value)}),r.forEach(function(t){t.addEventListener("change",function(t){var r=t.target.value;e.forEach(function(e){e!==t.target&&(e.value=r,n.dispatchEvent(new Event("change")))})})})}},{key:"autoTranslateUserLang",value:function(){var t=navigator.language||navigator.userLanguage,e=this.getCurrentLang();e?this.setSelectorValue(e):this.doTranslate("en|".concat(t))}},{key:"setSelectorValue",value:function(t){for(var e=document.getElementById("gtranslate_selector"),n=e.options,r=0;r<n.length;r++)if(n[r].value.split("|")[1]===t){e.value=n[r].value;break}}}]);var t}();function _l(t){return _l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_l(t)}
vendor: 4,466 bytes, line 2
2function xl(){var t=Ol(),e=t.m(xl),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,wl(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(xl=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new Tl(t,e)},AsyncIterator:Cl,async:function(t,e,n,i,a){return(r(e)?kl:El)(o(t),e,n,i,a)},keys:Sl,values:wl}})()}function wl(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(_l(t)+" is not iterable")}function Sl(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function El(t,e,n,r,i){var o=kl(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function kl(t,e,n,r,i){return new Cl(Ol().w(t,e,n,r),i||Promise)}function Cl(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof Tl?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(Al(Cl.prototype),Al(Cl.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),Al(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)})}return r=r?r.then(a,a):a()},!0)}function Ol(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return Al(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(Al(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,Al(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,Al(h,"constructor",l),Al(l,"constructor",c),c.displayName="GeneratorFunction",Al(l,i,"GeneratorFunction"),Al(h),Al(h,i,"Generator"),Al(h,r,function(){return this}),Al(h,"toString",function(){return"[object Generator]"}),(Ol=function(){return{w:o,m:f}})()}function Al(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}Al=function(t,e,n,r){function o(e,n){Al(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},Al(t,e,n,r)}function Tl(t,e){this.v=t,this.k=e}function Ll(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function Pl(t){return function(){var e=this,n=arguments;
2return new Promise(function(r,i){var o=t.apply(e,n);function a(t){Ll(o,r,i,a,s,"next",t)}function s(t){Ll(o,r,i,a,s,"throw",t)}a(void 0)})}}function Ml(){return new Promise(function(t,e){var n=document.createElement("script");n.type="text/javascript",n.src="//translate.google.com/translate_a/element.js",n.onload=t,n.onerror=e,document.head.appendChild(n)})}function jl(t){return jl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jl(t)}function Dl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Il(r.key),r)}}function Il(t){var e=function(t){if("object"!=jl(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=jl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==jl(e)?e:e+""}document.addEventListener("DOMContentLoaded",Pl(xl().mark(function t(){return xl().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(document.getElementById("gtranslate_selector")&&window.self===window.top){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,Ml();case 5:new bl,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2),console.error("Failed to load Google Translate script:",t.t0);case 11:case"end":return t.stop()}},t,null,[[2,8]])})));var Rl=function(){return function(t,e){return e&&Dl(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.BLOCK="nav-header",this.HEADER_BLOCK="header",this.CSS_HOMEPAGE="container--homepage",this.CSS_HOMEPAGE_HOVER="header--hover",this.HOVER,this.MOBILE,this.TABLET,this.DESKTOP,this.LAST_RESIZE=Qo(),this.OPEN="".concat(this.BLOCK,"--open"),this.ITEM_OPEN="".concat(this.BLOCK,"__submenu--open"),this.PARENT_ITEM_OPEN="".concat(this.BLOCK,"__parent--open"),this.BTN_CLASS="btn-menu",this.SEARCH="cmp-searchCustom",this.r=document.querySelector(":root"),this.body=document.querySelector("body"),this.root=document.querySelector(".container--aem-root"),this.header=this.body.querySelector(".".concat(this.HEADER_BLOCK)),this.header&&(this.alert=this.header.querySelector(".alert-card"),this.nav=this.header.querySelector("nav"),this.onHomepage=this.root.classList.contains(this.CSS_HOMEPAGE),this.mediaHero,this.onHomepage&&(this.mediaHero=document.querySelector(".media-hero-homepage")),this.menuBtns=this.header.querySelectorAll(".".concat(this.BTN_CLASS)),this.navWrap=this.header.querySelector(".".concat(this.BLOCK,"__wrap")),this.allItemToggles=this.nav.querySelectorAll(".".concat(this.BLOCK,"__submenu-toggle")),this.allChildMenus=this.nav.querySelectorAll(".".concat(this.BLOCK,"__submenu")),this.prevEventIsEnter=!1,this.init())},[{key:"init",value:function(){var t=this;this.closeNav();var e=qi(this.resizeHandler.bind(this),500);window.addEventListener("resize",e),this.resizeHandler(),this.menuBtns.forEach(function(e){e.querySelector("a").addEventListener("click",function(e){t.body.classList.contains(t.OPEN)?t.closeNav(e):t.openNav(e)})}),this.nav.querySelectorAll(".".concat(this.BLOCK,"__menu-esc")).forEach(function(e){e.addEventListener("keydown",function(e){e.shiftKey||9===e.keyCode||t.closeNav(e)}),e.addEventListener("click",function(e){t.closeNav(e)})}),document.addEventListener("keyup",function(e){"Escape"===e.key&&t.closeNav()}),this.onHomepage&&this.addHomepageEventListeners(),this.allItemToggles.forEach(function(e){e.classList.contains("".concat(t.BLOCK,"__submenu-toggle--arrow"))?e.addEventListener("click",function(e){t.closeNavDesktopHandler(e)}):e.addEventListener("click",t.openNavItem.bind(t))}),this.allItemToggles.forEach(function(e){e.classList.contains("".concat(t.BLOCK,"__submenu-toggle--arrow"))&&e.addEventListener("click",function(e){t.NavSearchHandler(e)},{once:!0})}),this.allChildMenus.forEach(function(e){e.querySelectorAll(".".concat(t.BLOCK,"__back")).forEac
2h(function(e){e.addEventListener("click",function(e){if(t.TABLET)for(var n=e.target.closest("ul").querySelectorAll(".".concat(t.BLOCK,"__submenu-toggle")),r=n.length-1;r>=0;r--){var i=n[r];i.classList.contains(t.ITEM_OPEN&&!"".concat(t.BLOCK,"__back"))?t.closeNavItem(i,!1):t.closeNavItem(i,!0)}else{var o=e.target.closest(".".concat(t.BLOCK,"__submenu")).previousElementSibling;t.closeNavItem(o,!0)}t.submenuHeightHandler()})})})}},{key:"toggleHomepageVisibleClass",value:function(t){var e;switch(t.type){case"mouseenter":case"pointerenter":case"focusin":case"focus":e=!0;break;default:e=!1}var n=e||this.body.classList.contains(this.OPEN)||this.header.contains(document.activeElement);t.currentTarget.classList[n?"add":"remove"](this.CSS_HOMEPAGE_HOVER)}},{key:"addHomepageEventListeners",value:function(){var t=this;["mouseenter","mouseleave","pointerenter","pointerleave","focusin","focus","focusout"].forEach(function(e){t.header.addEventListener(e,t.toggleHomepageVisibleClass.bind(t))})}},{key:"closeNavDesktopHandler",value:function(t){this.DESKTOP?t.target.classList.contains(this.ITEM_OPEN)?this.closeNav(t):(this.openNavItem(t),this.trapFocus(t)):this.openNavItem(t)}},{key:"calculateVisibilityForDiv",value:function(t){var e=window.innerHeight,n=document.documentElement.scrollTop||document.body.scrollTop,r=t.getBoundingClientRect().top+n,i=t.offsetHeight,o=n-r,a=r+i-(n+e);if(n>r+i||r>n+e)return 0;var s=1;return o>0&&(s-=o/i),a>0&&(s-=a/i),s}},{key:"NavSearchHandler",value:function(t){var e=t.target,n=document.querySelector(e.getAttribute("href")).querySelector(".".concat(this.SEARCH));this.DESKTOP&&null!==n&&(new Fc(n,n.length,this.SEARCH),e.removeEventListener("click",this.NavSearchHandler))}},{key:"resizeHandler",value:function(){this.MOBILE="SMALL"===Qo(),this.TABLET="MEDIUM"===Qo(),this.DESKTOP="LARGE"===Qo()||"XLARGE"===Qo();var t=document.querySelector(".".concat(this.OPEN)),e=this.alert?this.alert.offsetHeight:0;if(this.onHomepage&&(this.r.style.setProperty("--header-height",this.calculateVisibilityForDiv(this.header)*this.header.offsetHeight+"px"),this.r.style.setProperty("--header-global-height",this.header.offsetHeight+"px"),this.r.style.setProperty("--alert-height",e+"px")),this.DESKTOP){this.r.style.setProperty("--header-height",this.calculateVisibilityForDiv(this.header)*this.header.offsetHeight+"px"),this.r.style.setProperty("--subheader-height","50px"),this.nav.setAttribute("aria-hidden",!1);var n,r=this.header.querySelector(".".concat(this.ITEM_OPEN,".").concat(this.BLOCK,"__submenu-toggle--arrow"));null!==r&&null!==(n=document.querySelector(r.getAttribute("href")).querySelector(".".concat(this.SEARCH)))&&null===n.querySelector(".cmp-list__item")&&new Fc(n,n.length,this.SEARCH)}else null===t&&this.nav.setAttribute("aria-hidden",!0);t&&this.LAST_RESIZE!==Qo()&&this.closeNav(),this.submenuHeightHandler(),this.LAST_RESIZE=Qo()}},{key:"isVisible",value:function(t){return"function"==typeof t.checkVisibility?t.checkVisibility():!(null===t.offsetParent)}},{key:"submenuHeightHandler",value:function(){var t=this;if(this.TABLET||this.MOBILE){var e,n=Array.from(document.querySelectorAll(".".concat(this.BLOCK,"__submenu-header-wrap"))).filter(function(e){return t.isVisible(e)}),r=this.header.querySelectorAll(".".concat(this.BLOCK,"__logo"));n.length&&(e=this.TABLET?n[0]:n[n.length-1],this.r.style.setProperty("--subheader-height",e.offsetHeight+"px")),r.length&&this.r.style.setProperty("--logo-height",r[0].offsetHeight+"px")}}},{key:"clickOutsideHandler",value:function(t){this.header.contains(t.target)||this.closeNav()}},{key:"addClickOutsideListener",value:function(){document.removeEventListener("click",this.clickOutsideHandler),document.addEventListener("click",this.clickOutsideHandler.bind(this))}},{key:"getFocusableElems",value:function(t,e){var n=this,r=Array.from(t.querySelectorAll("a")).filter(function(t){return n.isVisible(t)});return e?r[0]:r[r.length-1]}},{key:"trapFocus",value:function(t){var e=this,n=document.querySelector(t.currentTarget.getAttribute("href")),r=(yl=new AbortController).signal;(this.TABLET||this.MOBILE)&&n.querySelector(".".concat(this.BLOCK,"__submenu-row"))&&(n.querySelector(".".concat(this.BLOCK,"__submenu-row")).scrollTop=0),this.getFocusableElems(n,!1).addEventListener("keydown",function(t){"Tab"!==t.key||t.shiftKey||(t.preventDefault(),e.getFocusableElems(n,!0).focus())},{signal:r}),this.getFocusableElems(n,!0).addEventListener("keydown",function(t){"Tab"===t.key&&t.shiftKey&&(t.preventDefault(),e.getFocusableElems(n,!1).focus())},{signal:r})}},{key:"openNav",value:function(t){t.preventDefault(),this.body.classList.add(this.OPEN),this.menuBtns.forEach(function(t){t.querySelector("a").setAttribute("aria-expanded",!0)}),this.nav.setAttribute("aria-hidden",!1),this.addClickOutsideListener(),this.DESKTOP||this.trapFocus(t)}},{key:"closeNav",value:function(t){t&&t.preventDefault(),this.body.classList.remove(this.OP
2EN),this.menuBtns.forEach(function(t){t.querySelector("a").setAttribute("aria-expanded",!1)}),this.DESKTOP?this.nav.setAttribute("aria-hidden",!1):this.nav.setAttribute("aria-hidden",!0),document.removeEventListener("keyup",this.clickOutsideHandler),document.removeEventListener("click",this.clickOutsideHandler);for(var e=this.allItemToggles.length-1;e>=0;e--){var n=this.allItemToggles[e];n.classList.contains(this.ITEM_OPEN)&&this.closeNavItem(n,!1)}this.onHomepage&&this.DESKTOP&&this.header.classList.remove(this.CSS_HOMEPAGE_HOVER)}},{key:"openNavItem",value:function(t){var e=this;t.preventDefault();var n=t.currentTarget,r=document.querySelector(n.getAttribute("href"));this.DESKTOP&&(this.body.classList.add(this.OPEN),this.r.style.setProperty("--header-height",this.calculateVisibilityForDiv(this.header)*this.header.offsetHeight+"px")),n.classList.add(this.ITEM_OPEN),n.setAttribute("aria-expanded",!0),r.setAttribute("aria-hidden",!1),this.trapFocus(t),n.closest(".".concat(this.BLOCK,"__wrap, .").concat(this.BLOCK,"__submenu")).classList.add(this.PARENT_ITEM_OPEN),n.closest("ul").querySelectorAll(".".concat(this.ITEM_OPEN)).forEach(function(t){t!==n&&e.closeNavItem(t,!1,!0)}),this.addClickOutsideListener(),this.submenuHeightHandler()}},{key:"closeNavItem",value:function(t,e,n,r){var i=document.querySelector(t.getAttribute("href"));yl.abort(),t.setAttribute("aria-expanded",!1),t.classList.remove(this.ITEM_OPEN),i.setAttribute("aria-hidden",!0),n||(t.closest(".".concat(this.BLOCK,"__wrap, .").concat(this.BLOCK,"__submenu")).classList.remove(this.PARENT_ITEM_OPEN),this.TABLET&&(this.navSubheaderHeight="")),e&&((this.TABLET||this.MOBILE)&&t.classList.contains(".".concat(this.BLOCK,"__submenu-toggle--arrow"))?document.querySelector(".".concat(this.BLOCK,"__menu-esc--logo")).focus():t.focus())}}])}();document.addEventListener("DOMContentLoaded",function(){new Rl});var Nl=n(4332),Fl=Nl.whitelist,Bl=Nl.classListNoInline,zl=Nl.classListAnimatedExternalLink,Hl=Nl.mimetype;function Vl(){var t=window.location.hostname,e=document.querySelectorAll(".pl-js-pattern-example a, .pl-demo a, html:not(.aem-AuthorLayer-Edit) main a, html:not(.aem-AuthorLayer-Edit) .footer a, html:not(.aem-AuthorLayer-Edit) header a");e.length&&e.forEach(function(e){if(function(t,e){return!t.href.includes(e)&&!ql(t,Fl,"url")&&!ql(t,Bl,"class")}(e,t))e.classList.add("inline-external-link");else if(function(t,e){return!t.href.includes(e)&&!ql(t,Fl,"url")&&ql(t,zl,"class")}(e,t))e.classList.add("animated-external-link");else{if(!function(t,e){return t.href.includes(e)&&ql(t,Hl,"url")&&!ql(t,Bl,"class")}(e,t))return;e.classList.add("inline-download-link")}})}function ql(t,e,n){var r=!1;return e.forEach(function(e){("url"===n&&t.href.includes(e)||"class"===n&&t.closest(".".concat(e)))&&(r=!0)}),r}function Wl(t){return Wl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wl(t)}function Ul(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Gl(r.key),r)}}function Gl(t){var e=function(t){if("object"!=Wl(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Wl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Wl(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){Vl()});var $l=function(){return function(t,e){return e&&Ul(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.carousels=e,this.players=[],this.loadYouTubeAPI()},[{key:"isYouTubeAPIReady",value:function(){var t;return null===(t=window.YT)||void 0===t?void 0:t.Player}},{key:"loadYouTubeAPI",value:function(){var t=this;if(this.isYouTubeAPIReady())this.initializePlayers();else{var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api",document.head.appendChild(e),window.onYouTubeIframeAPIReady=function(){t.initializePlayers()}}}},{key:"initializePlayers",value:function(){var t=this;
2this.carousels.forEach(function(e){e.querySelectorAll('iframe[src*="youtube.com"]').forEach(function(e){var n=new window.YT.Player(e,{events:{onReady:function(){return t.players.push(n)}}})})}),this.setupListeners()}},{key:"pauseYouTubeVideos",value:function(){this.players.forEach(function(t){var e;t.getPlayerState()===(null===(e=window.YT)||void 0===e?void 0:e.PlayerState.PLAYING)&&t.pauseVideo()})}},{key:"setupListeners",value:function(){var t=this;this.carousels.forEach(function(e){var n=e.querySelectorAll('[data-cmp-hook-carousel="indicator"]'),r=e.querySelector('[data-cmp-hook-carousel="previous"]'),i=e.querySelector('[data-cmp-hook-carousel="next"]');n.forEach(function(e){e.addEventListener("click",function(){return t.pauseYouTubeVideos()})}),r&&r.addEventListener("click",function(){return t.pauseYouTubeVideos()}),i&&i.addEventListener("click",function(){return t.pauseYouTubeVideos()})})}}])}();function Yl(t){return Yl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yl(t)}function Kl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Xl(r.key),r)}}function Xl(t){var e=function(t){if("object"!=Yl(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Yl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Yl(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".cmp-carousel");0!==t.length&&new $l(t)}),n(9089);var Zl=function(){return function(t,e){return e&&Kl(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.button=document.getElementById(e),this.mainContent=document.querySelector(n),this.oldScrollY=window.scrollY,this.isAtBottom=!1,this.intersectingToc=!1,this.isTogglingCollapse=!1,this.isEligible()?this.init():this.hideButton()},[{key:"init",value:function(){var t=this;window.addEventListener("scroll",this.throttle(this.handleScroll.bind(this))),this.button.addEventListener("click",this.backToTop.bind(this)),this.button.addEventListener("keydown",this.handleKeydown.bind(this)),document.addEventListener("stickyIntersect",function(){t.intersectingToc=!0}),document.addEventListener("stickyLeave",function(){t.intersectingToc=!1}),this.initCollapseListeners()}},{key:"initCollapseListeners",value:function(){var t=this;document.querySelectorAll(".collapse").forEach(function(e){e.addEventListener("show.bs.collapse",function(){t.toggleCollapse(!0),t.hideButton()}),e.addEventListener("hidden.bs.collapse",function(){t.toggleCollapse(!1)})})}},{key:"throttle",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=0;return function(){var i=Date.now();window.innerHeight+Math.round(window.scrollY)>=document.body.offsetHeight?(e.showButton(),e.isAtBottom=!0):i-r>=n&&(r=i,t(),e.isAtBottom=!1)}}},{key:"isEligible",value:function(){var t=document.body.classList.contains("cq-authoring-mode");return document.body.scrollHeight>4*window.innerHeight&&!t}},{key:"handleScroll",value:function(){if(!this.isTogglingCollapse){var t=window.scrollY;this.isAtBottom||(t>this.oldScrollY||this.intersectingToc?this.hideButton():t>window.innerHeight&&this.showButton(),t<1e3&&this.hideButton()),this.oldScrollY=t}}},{key:"showButton",value:function(){this.button.classList.add("btn-back-to-top--show"),this.button.setAttribute("aria-hidden","false"),this.button.removeAttribute("tabindex")}},{key:"hideButton",value:function(){this.button.classList.remove("btn-back-to-top--show"),this.button.setAttribute("aria-hidden","true"),this.button.setAttribute("tabindex","-1")}},{key:"backToTop",value:function(){this.mainContent.setAttribute("tabindex","-1"),this.mainContent.focus(),window.matchMedia("(prefers-reduced-motion: reduce)").matches?window.scrollTo({top:0}):window.scrollTo({top:0,behavior:"smooth"})}},{key:"handleKeydown",value:function(t){"Enter"!==t.key&&" "!==t.key||this.backToTop()}},{key:"toggleCollapse",value:function(t){this.isTogglingCollapse=t}}])}();function Jl(t){return Jl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jl(t)}function Ql(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,tu(r.key),r)}}function tu(t){var e=function(t){if("object"!=Jl(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Jl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Jl(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){document.getElementById("btn-back-to-top")&&new Zl("btn-back-to-top","main")});var eu=function(){return function(t,e){return e&&Ql(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CSS_CLASS=n,this.video=e.querySelector(".".concat(this.CSS_CLASS,"__video")),this.button=e.querySelector(".".concat(this.CSS_CLASS,"__pause")),this.video&&this.button&&(this.mp4=this.video.querySelector(".mp4"),this.webm=this.video.querySelector(".webm"),this.image=e.querySelector(".image:not(.".concat(this.CSS_CLASS,"__logo .image)")),this.CURRENT_BREAKPOINT=Qo(),this.videoContainer=e.querySelector(".".concat(this.CSS_CLASS,"__media")),this.videoUrl=this.videoContainer.dataset.video,this.init(),this.button.addEventListener("click",function(){return r.toggleVideo()}),this.video.addEventListener("ended",function(){return r.updateButton("play")}),this.button.addEventListener("keydown",function(t){return r.handleKey(t)}))},[{key:"init",value:function(){this.showVideo(),window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(this.video.pause(),this.updateButton("play"))}},{key:"showVideo",value:function(){"SMALL"!==this.CURRENT_BREAKPOINT?(null!=this.image&&this.image.classList.add("d-none"),null!=this.mp4&&(this.mp4.src=this.videoUrl.endsWith(".mp4")?this.videoUrl:this.videoUrl+".mp4"),null!=this.webm&&(this.webm.src=this.videoUrl.endsWith(".webp")?this.videoUrl:this.videoUrl+".webp"),this.video.load()):this.button.classList.add("d-none")}},{key:"toggleVideo",value:function(){var t=this.video.paused?"pause":"play";this.video["pause"===t?"play":"pause"](),this.updateButton(t)}},{key:"updateButton",value:function(t){var e=this.button.dataset[t];this.button.innerHTML='<span class="visually-hidden">'.concat(e," video</span>"),this.button.setAttribute("aria-label","".concat(e," video")),this.button.setAttribute("aria-pressed","pause"===t)}},{key:"handleKey",value:function(t){[" ","Enter"].includes(t.key)&&(t.preventDefault(),this.toggleVideo())}}])}();function nu(t){return nu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nu(t)}function ru(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,iu(r.key),r)}}function iu(t){var e=function(t){if("object"!=nu(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=nu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==nu(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".media-hero"),e=document.querySelectorAll(".cmp-media-hero-homepage");0===t.length&&0===e.length||(t.length?t.forEach(function(t){return new eu(t,"media-hero")}):e.forEach(function(t){return new eu(t,"cmp-media-hero-homepage")}))}),n(8459);var ou=function(){return function(t,e){return e&&ru(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.alertEls=e,this.LOCAL_STORAGE_VAL="closed",this.setupListeners(),window.Granite&&window.Granite.author?this.handleResize():(this.handleResize=this.handleResize.bind(this),window.addEventListener("resize",this.handleResize))},[{key:"updateButtonVisibility",value:function(t,e){if(t&&e){var n=t.querySelector(".cmp-text");if(n){var r=n.style.display;n.style.display="block";var i=n.scrollHeight;n.style.display=r,i>this.calculateMaxHeight(n)?e.classList.remove("btn-minimal--hidden"):e.classList.add("btn-minimal--hidden")}else e.classList.add("btn-minimal--hidden")}}},{key:"toggleTextVisibility",value:function(t,e){var n=!("true"===t.getAttribute("aria-expanded"));t.setAttribute("aria-expanded",n),e.textContent=n?e.dataset.showLess:e.dataset.readMore,e.setAttribute("aria-expanded",n)}},{key:"setupListeners",value:function(){var t=this;
2this.alertEls.forEach(function(e){var n=e.querySelector(".btn-icon--close button");n&&n.addEventListener("click",function(t){"true"===t.target.getAttribute("aria-expanded")&&(t.target.setAttribute("aria-expanded","false"),t.target.closest(".alert-card").classList.add("alert-card--hidden"),localStorage.setItem(t.target.closest(".cmp-alert-card").id,"closed"))}),e.querySelector(".cmp-alert-card").id&&localStorage.getItem(e.querySelector(".cmp-alert-card").id)!==t.LOCAL_STORAGE_VAL&&e.classList.remove("alert-card--hidden");var r=e.querySelector(".cmp-alert-card__content");if(r){var i=r.querySelector(".cmp-text"),o=e.querySelector(".btn-minimal:not(.btn-icon--close)"),a=e.querySelector('.cmp-button[data-toggle="alert-text"]'),s=e.querySelector(".btn-secondary .cmp-button");if(i||r.setAttribute("aria-expanded",!0),r&&o&&a){var c="true"===r.getAttribute("aria-expanded");a.textContent=c?a.dataset.showLess:a.dataset.readMore,t.updateButtonVisibility(r,o),o.classList.contains("btn-minimal--hidden")?(r.setAttribute("aria-expanded",!0),a.setAttribute("aria-expanded",!0)):(r.setAttribute("aria-expanded",!1),a.textContent=a.dataset.readMore,a.setAttribute("aria-expanded",!1)),a.addEventListener("click",function(){t.toggleTextVisibility(r,a),t.updateButtonVisibility(r,o)}),s&&s.addEventListener("focus",function(){"false"===r.getAttribute("aria-expanded")&&(t.toggleTextVisibility(r,a),t.updateButtonVisibility(r,o))})}}})}},{key:"handleResize",value:function(){var t=this;this.resizeTimeout&&cancelAnimationFrame(this.resizeTimeout),this.resizeTimeout=requestAnimationFrame(function(){t.alertEls.forEach(function(e){var n=e.querySelector(".cmp-alert-card__content"),r=e.querySelector(".btn-minimal:not(.btn-icon--close)");if(n&&r){var i=r.querySelector('.cmp-button[data-toggle="alert-text"]');t.updateButtonVisibility(n,r),r.classList.contains("btn-minimal--hidden")?(n.setAttribute("aria-expanded",!0),i.setAttribute("aria-expanded",!0)):(n.setAttribute("aria-expanded",!1),i.textContent=i.dataset.readMore,i.setAttribute("aria-expanded",!1))}})})}},{key:"calculateMaxHeight",value:function(t){var e=getComputedStyle(t);return 3*(parseFloat(e.lineHeight)||1.2*parseFloat(e.fontSize))}}])}();function au(t){return au="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},au(t)}function su(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,cu(r.key),r)}}function cu(t){var e=function(t){if("object"!=au(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=au(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==au(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".alert-card");0!==t.length&&new ou(t)});var lu=function(){return function(t,e){return e&&su(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.table=e,this.currentSubheadings=[]},[{key:"apply",value:function(){var t=this;this.wrapTable(),this.resetSubheadings();var e=this.getHeaderRows();this.getBodyRows().forEach(function(n){t.isSubheadingRow(n)?t.processSubheadingRow(n):t.processDataRow(n,e)})}},{key:"wrapTable",value:function(){var t=document.createElement("div");t.classList.add("table-wrapper"),this.table.parentNode.insertBefore(t,this.table),t.appendChild(this.table)}},{key:"resetSubheadings",value:function(){this.currentSubheadings=[]}},{key:"getHeaderRows",value:function(){return Array.from(this.table.querySelectorAll("thead tr"))}},{key:"getBodyRows",value:function(){return Array.from(this.table.querySelectorAll("tbody tr"))}},{key:"isSubheadingRow",value:function(t){return t.querySelector("th")&&!t.querySelector("td")}},{key:"processSubheadingRow",value:function(t){var e=Array.from(t.children);this.currentSubheadings=e.map(function(t){return t.classList.add("subheading-cell"),t.textContent.trim()})}},{key:"processDataRow",value:function(t,e){var n=this,r=Array.from(t.children),i=e[e.length-1];r.forEach(function(t,e){if("TH"!==t.tagName){var r=n.getColumnHeaderText(i,e),o=n.get
2SubheadingText(e),a=n.combineLabels(r,o);t.setAttribute("data-label",a)}})}},{key:"getColumnHeaderText",value:function(t,e){var n=t?t.children[e]:null;return n?n.textContent.trim():""}},{key:"getSubheadingText",value:function(t){return this.currentSubheadings[t]||""}},{key:"combineLabels",value:function(t,e){return[t,e].filter(Boolean).join(" - ")}}])}();function uu(t){return uu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uu(t)}function hu(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,fu(r.key),r)}}function fu(t){var e=function(t){if("object"!=uu(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=uu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==uu(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll("table");0!==t.length&&t.forEach(function(t){new lu(t).apply()})}),n(9868);var du=function(){return function(t,e){return e&&hu(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.results=e,this.containerId="waterRateCalcContainer",this.currentRate=null,this.proposedRate=null,this._ratesInfo=null,this.locationInput=null,this.monthInput=null,this.monthlyConsumptionInput=null,this.ccfConversionRate=748,this.init()},[{key:"init",value:function(){var t=document.getElementById(this.containerId);this.results&&this.results.ResultRows&&t&&(this._ratesInfo=this.results.ResultRows,this.populateInputs(t),this.attachEvents(t))}},{key:"populateInputs",value:function(t){this.locationInput=t.querySelector(".location-dropdown"),this.monthInput=t.querySelector(".month-dropdown"),this.monthlyConsumptionInput=t.querySelector(".monthly-consumption"),this.populateLocationDropdown(),this.populateMonthDropdown()}},{key:"populateLocationDropdown",value:function(){var t=this,e=this._ratesInfo.filter(function(t){return"Location Multiplier"===t.WaterCalcCategory}),n=this._ratesInfo.filter(function(t){return"Proposed Location Multiplier"===t.WaterCalcCategory});e.forEach(function(e){var r,i=document.createElement("option");i.value=e.WaterLocation,i.dataset.locationMultiplier=e.LocationMultiplier,i.dataset.proposedLocationMultiplier=null===(r=n.find(function(t){return t.WaterLocation===e.WaterLocation}))||void 0===r?void 0:r.LocationMultiplier,i.textContent=e.WaterLocation,t.locationInput.appendChild(i)})}},{key:"populateMonthDropdown",value:function(){var t=this,e=this._ratesInfo.filter(function(t){return"Seasonal Rates"===t.WaterCalcCategory}),n=this._ratesInfo.filter(function(t){return"Proposed Seasonal Rates"===t.WaterCalcCategory});e.forEach(function(e){var r,i,o=document.createElement("option");o.value=e.SeasonalRatesMonth,o.dataset.seasonalPrice=e.SeasonalRatesRate,o.dataset.proposedSeasonalPrice=null===(r=n.find(function(t){return t.SeasonalRatesMonth===e.SeasonalRatesMonth}))||void 0===r?void 0:r.SeasonalRatesRate,o.dataset.seasonalCredit=e.SeasonalCCFCredit,o.dataset.proposedSeasonalCredit=null===(i=n.find(function(t){return t.SeasonalRatesMonth===e.SeasonalRatesMonth}))||void 0===i?void 0:i.SeasonalCCFCredit,o.textContent=e.SeasonalRatesMonth,t.monthInput.appendChild(o)})}},{key:"attachEvents",value:function(t){var e=t.querySelectorAll("input, select, textarea");this.attachInputChangeListeners(e,t),this.attachFormSubmitListener(t,e)}},{key:"attachInputChangeListeners",value:function(t,e){t.forEach(function(t){t.addEventListener("change",function(){e.dataset.updated=!0})})}},{key:"attachFormSubmitListener",value:function(t){var e=this;t.querySelector(".rate-calculator__form").addEventListener("submit",function(n){n.preventDefault(),e.updateResults(t,e.calculateBill())})}},{key:"calculateBill",value:function(){var t=this.locationInput.querySelector("option:checked"),e=this.monthInput.querySelector("option:checked"),n=parseInt(this.monthlyConsumptionInput.value,10)/this.ccfConversionRate,r=this.getDatasetValue(t,"locationMultiplier"),i=this.getDatasetValue(t,"proposedLocationMultiplier"),o=this.getDatasetValue(e,"seasonalPrice"),a=this.getDatasetValue(e,"proposedSeasonalPrice"),s=this.getDatasetValue(e,"seasonalCredit"),c=this.getDatasetValue(e,"proposedSeasonalCredit"),l=this.getRateValue("Meter Sizes","MeterSizePricing")*r,u=this.getRateValue("Proposed Meter Sizes","MeterSizePricing")*r,h=this.getRateValue("Environmental Charge","EnvironmentalChargePerCCF"),f=this.getRateValue("Proposed Environmental Charge","EnvironmentalChargePerCCF"),d=this.calculateCharge(n,h,r),p=this.calculateCharge(n,f,i),m=this.calculateVolumeCharge(n,s,o,r),g=this.calculateVolumeCharge(n,c,a,i);return this.currentRate=parseFloat(l)+parseFloat(m)+parseFloat(d),this.proposedRate=parseFloat(u)+parseFloat(g)+parseFloat(p),{current:{total:isNaN(this.currentRate)?"0.00":this.currentRate.toFixed(2)},proposed:{total:isNaN(this.proposedRate)?"0.00":this.proposedRate.toFixed(2)}}}},{key:"getDatasetValue",value:function(t,e){return parseFloat(t.dataset[e])||0}},{key:"getRateValue",value:function(t,e){var n=this._ratesInfo.find(function(e){return e.WaterCalcCategory===t});return parseFloat(n[e])||0}},{key:"calculateCharge",value:function(t,e,n){return(t*e*n).toFixed(2)}},{key:"calculateVolumeCharge",value:function(t,e,n,r){return(Math.max(0,t+e)*n*r).toFixed(2)}},{key:"updateResults",value:function(t,e){t.querySelector(".current-total").textContent="$"+e.current.total,t.querySelector(".proposed-total").textContent="$"+e.proposed.total}}])}();function pu(t){return pu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pu(t)}function mu(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,gu(r.key),r)}}function gu(t){var e=function(t){if("object"!=pu(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=pu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==pu(e)?e:e+""}var vu=function(){return function(t,e){return e&&mu(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.rateData=e,this.containerId="sewerRateCalcContainer",this.currentRate=null,this.proposedRate=null,this.envMandates
2Input=null,this.COPMultiplier=0,this.init()},[{key:"init",value:function(){var t=document.getElementById(this.containerId);this.rateData&&t&&(this.envMandatesInput=t.querySelector("#envMandatesFromUser"),this.attachEvents(t))}},{key:"attachEvents",value:function(t){var e=this;this.attachCalculateButtonListener(t),t.querySelectorAll('input[name="in_phx"]').forEach(function(t){t.addEventListener("change",function(t){e.setMultiplier("ip"===t.target.id?1:1.5)})})}},{key:"attachCalculateButtonListener",value:function(t){var e=this;t.querySelector(".rate-calculator__form").addEventListener("submit",function(t){t.preventDefault(),e.calculateSewerBill()})}},{key:"setMultiplier",value:function(t){this.COPMultiplier=t}},{key:"calculateSewerBill",value:function(){var t=document.getElementById(this.containerId);this.environmentalMandates=Number(this.envMandatesInput.value);var e=this.rateData.current,n=this.rateData.proposed,r=(e.EnvironmentalUserCharge+e.EnvironmentalOtherCharge)*this.COPMultiplier,i=this.environmentalMandates/(e.SewerFlowPercentage/100*r),o=i,a=this.calculateTotalCharge(i,e),s=this.calculateTotalCharge(o,n);this.updateResults(t,a,s)}},{key:"calculateTotalCharge",value:function(t,e){var n=t*(e.SewerFlowPercentage/100)*e.EnvironmentalUserCharge*this.COPMultiplier+t*(e.SewerFlowPercentage/100)*e.EnvironmentalOtherCharge*this.COPMultiplier,r=e.FixedCharge*this.COPMultiplier+t*(e.SewerFlowPercentage/100)*e.UserCharge*this.COPMultiplier+t*(e.SewerFlowPercentage/100)*e.OtherCharge*this.COPMultiplier;return r+n+(r<e.MonthlyMinimum?e.MonthlyMinimum-r:0)}},{key:"updateResults",value:function(t,e,n){t.querySelector(".current-total").textContent="$"+e.toFixed(2),t.querySelector(".proposed-total").textContent="$"+n.toFixed(2)}}])}();function yu(t){return t+.5|0}document.addEventListener("DOMContentLoaded",function(){var t=document.getElementById("waterRateData"),e=document.getElementById("sewerRateData");if(t&&e){var n=JSON.parse(t.textContent),r=JSON.parse(e.textContent);new du(n),new vu(r)}}),n(3771);const bu=(t,e,n)=>Math.max(Math.min(t,n),e);function _u(t){return bu(yu(2.55*t),0,255)}function xu(t){return bu(yu(255*t),0,255)}function wu(t){return bu(yu(t/2.55)/100,0,1)}function Su(t){return bu(yu(100*t),0,100)}const Eu={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ku=[..."0123456789ABCDEF"],Cu=t=>ku[15&t],Ou=t=>ku[(240&t)>>4]+ku[15&t],Au=t=>(240&t)>>4==(15&t);const Tu=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Lu(t,e,n){const r=e*Math.min(n,1-n),i=(e,i=(e+t/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Pu(t,e,n){const r=(r,i=(r+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Mu(t,e,n){const r=Lu(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function ju(t){const e=t.r/255,n=t.g/255,r=t.b/255,i=Math.max(e,n,r),o=Math.min(e,n,r),a=(i+o)/2;let s,c,l;return i!==o&&(l=i-o,c=a>.5?l/(2-i-o):l/(i+o),s=function(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}(e,n,r,l,i),s=60*s+.5),[0|s,c||0,a]}function Du(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(xu)}function Iu(t,e,n){return Du(Lu,t,e,n)}function Ru(t){return(t%360+360)%360}const Nu={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Fu={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Bu;const zu=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,Hu=t=>
vendor: 6,272 bytes, line 2
2t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Vu=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function qu(t,e,n){if(t){let r=ju(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Iu(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Wu(t,e){return t?Object.assign(e||{},t):t}function Uu(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=xu(t[3]))):(e=Wu(t,{r:0,g:0,b:0,a:1})).a=xu(e.a),e}function Gu(t){return"r"===t.charAt(0)?function(t){const e=zu.exec(t);let n,r,i,o=255;if(e){if(e[7]!==n){const t=+e[7];o=e[8]?_u(t):bu(255*t,0,255)}return n=+e[1],r=+e[3],i=+e[5],n=255&(e[2]?_u(n):bu(n,0,255)),r=255&(e[4]?_u(r):bu(r,0,255)),i=255&(e[6]?_u(i):bu(i,0,255)),{r:n,g:r,b:i,a:o}}}(t):function(t){const e=Tu.exec(t);let n,r=255;if(!e)return;e[5]!==n&&(r=e[6]?_u(+e[5]):xu(+e[5]));const i=Ru(+e[2]),o=+e[3]/100,a=+e[4]/100;return n="hwb"===e[1]?function(t,e,n){return Du(Mu,t,e,n)}(i,o,a):"hsv"===e[1]?function(t,e,n){return Du(Pu,t,e,n)}(i,o,a):Iu(i,o,a),{r:n[0],g:n[1],b:n[2],a:r}}(t)}class $u{constructor(t){if(t instanceof $u)return t;const e=typeof t;let n;var r,i,o;"object"===e?n=Uu(t):"string"===e&&(o=(r=t).length,"#"===r[0]&&(4===o||5===o?i={r:255&17*Eu[r[1]],g:255&17*Eu[r[2]],b:255&17*Eu[r[3]],a:5===o?17*Eu[r[4]]:255}:7!==o&&9!==o||(i={r:Eu[r[1]]<<4|Eu[r[2]],g:Eu[r[3]]<<4|Eu[r[4]],b:Eu[r[5]]<<4|Eu[r[6]],a:9===o?Eu[r[7]]<<4|Eu[r[8]]:255})),n=i||function(t){Bu||(Bu=function(){const t={},e=Object.keys(Fu),n=Object.keys(Nu);let r,i,o,a,s;for(r=0;r<e.length;r++){for(a=s=e[r],i=0;i<n.length;i++)o=n[i],s=s.replace(o,Nu[o]);o=parseInt(Fu[a],16),t[s]=[o>>16&255,o>>8&255,255&o]}return t}(),Bu.transparent=[0,0,0,0]);const e=Bu[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||Gu(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=Wu(this._rgb);return t&&(t.a=wu(t.a)),t}set rgb(t){this._rgb=Uu(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${wu(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?(t=this._rgb,e=(t=>Au(t.r)&&Au(t.g)&&Au(t.b)&&Au(t.a))(t)?Cu:Ou,t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0):void 0;var t,e}hslString(){return this._valid?function(t){if(!t)return;const e=ju(t),n=e[0],r=Su(e[1]),i=Su(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${wu(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let i;const o=e===i?.5:e,a=2*o-1,s=n.a-r.a,c=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=Vu(wu(t.r)),i=Vu(wu(t.g)),o=Vu(wu(t.b));return{r:xu(Hu(r+n*(Vu(wu(e.r))-r))),g:xu(Hu(i+n*(Vu(wu(e.g))-i))),b:xu(Hu(o+n*(Vu(wu(e.b))-o))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new $u(this.rgb)}alpha(t){return this._rgb.a=xu(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=yu(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return qu(this._rgb,2,t),this}darken(t){return qu(this._rgb,2,-t),this}saturate(t){return qu(this._rgb,1,t),this}desaturate(t){return qu(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=ju(t);n[0]=Ru(n[0]+e),n=Iu(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function Yu(){}const Ku=(()=>{let t=0;return()=>t++})();function Xu(t){return null==t}function Zu(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function Ju(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function Qu(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function th(t,e){return Qu(t)?t:e}function eh(t,e){return void 0===t?e:t}const nh=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function rh(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function ih(t,e,n,r){let i,o,a;if(Zu(t))if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i);else if(Ju(t))for(a=Object.keys(t),o=a.length,i=0;i<o;i++)e.call(n,t[a[i]],a[i])}function oh(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function ah(t){if(Zu(t))return t.map(ah);if(Ju(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=ah(t[n[i]]);return e}return t}function sh(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function ch(t,e,n,r){if(!sh(t))return;const i=e[t],o=n[t];Ju(i)&&Ju(o)?lh(i,o,r):e[t]=ah(o)}function lh(t,e,n){const r=Zu(e)?e:[e],i=r.length;if(!Ju(t))return t;const o=(n=n||{}).merger||ch;let a;for(let e=0;e<i;++e){if(a=r[e],!Ju(a))continue;const i=Object.keys(a);for(let e=0,r=i.length;e<r;++e)o(i[e],t,a,n)}return t}function uh(t,e){return lh(t,e,{merger:hh})}function hh(t,e,n){if(!sh(t))return;const r=e[t],i=n[t];Ju(r)&&Ju(i)?uh(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=ah(i))}const fh={"":t=>t,x:t=>t.x,y:t=>t.y};function dh(t,e){const n=fh[e]||(fh[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const t of e)r+=t,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function ph(t){return t.charAt(0).toUpperCase()+t.slice(1)}const mh=t=>void 0!==t,gh=t=>"function"==typeof t,vh=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0},yh=Math.PI,bh=2*yh,_h=bh+yh,xh=Number.POSITIVE_INFINITY,wh=yh/180,Sh=yh/2,Eh=yh/4,kh=2*yh/3,Ch=Math.log10,Oh=Math.sign;function Ah(t,e,n){return Math.abs(t-e)<n}function Th(t){const e=Math.round(t);t=Ah(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Ch(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function Lh(t){return!function(t){return"symbol"==typeof t||"object"==typeof t&&null!==t&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}(t)&&!isNaN(parseFloat(t))&&isFinite(t)}
vendor: 18,357 bytes, line 2
2function Ph(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Mh(t){return t*(yh/180)}function jh(t){return t*(180/yh)}function Dh(t){if(!Qu(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function Ih(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*yh&&(o+=bh),{angle:o,distance:i}}function Rh(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Nh(t,e){return(t-e+_h)%bh-yh}function Fh(t){return(t%bh+bh)%bh}function Bh(t,e,n,r){const i=Fh(t),o=Fh(e),a=Fh(n),s=Fh(o-i),c=Fh(a-i),l=Fh(i-o),u=Fh(i-a);return i===o||i===a||r&&o===a||s>c&&l<u}function zh(t,e,n){return Math.max(e,Math.min(n,t))}function Hh(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Vh(t,e,n){n=n||(n=>t[n]<e);let r,i=t.length-1,o=0;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const qh=(t,e,n,r)=>Vh(t,n,r?r=>{const i=t[r][e];return i<n||i===n&&t[r+1][e]===n}:r=>t[r][e]<n),Wh=(t,e,n)=>Vh(t,n,r=>t[r][e]>=n),Uh=["push","pop","shift","splice","unshift"];function Gh(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(Uh.forEach(e=>{delete t[e]}),delete t._chartjs)}function $h(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Yh="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function Kh(t,e){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Yh.call(window,()=>{r=!1,t.apply(e,n)}))}}const Xh=t=>"start"===t?"left":"end"===t?"right":"center",Zh=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2;function Jh(t,e,n){const r=e.length;let i=0,o=r;if(t._sorted){const{iScale:a,vScale:s,_parsed:c}=t,l=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,u=a.axis,{min:h,max:f,minDefined:d,maxDefined:p}=a.getUserBounds();if(d){if(i=Math.min(qh(c,u,h).lo,n?r:qh(e,u,a.getPixelForValue(h)).lo),l){const t=c.slice(0,i+1).reverse().findIndex(t=>!Xu(t[s.axis]));i-=Math.max(0,t)}i=zh(i,0,r-1)}if(p){let t=Math.max(qh(c,a.axis,f,!0).hi+1,n?0:qh(e,u,a.getPixelForValue(f),!0).hi+1);if(l){const e=c.slice(t-1).findIndex(t=>!Xu(t[s.axis]));t+=Math.max(0,e)}o=zh(t,i,r)-i}else o=r-i}return{start:i,count:o}}function Qh(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const tf=t=>0===t||1===t,ef=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*bh/n),nf=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*bh/n)+1,rf={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*Sh),easeOutSine:t=>Math.sin(t*Sh),easeInOutSine:t=>-.5*(Math.cos(yh*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>tf(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>tf(t)?t:ef(t,.075,.3),easeOutElastic:t=>tf(t)?t:nf(t,.075,.3),easeInOutElastic(t){const e=.1125;return tf(t)?t:t<.5?.5*ef(2*t,e,.45):.5+.5*nf(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-rf.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*rf.easeInBounce(2*t):.5*rf.easeOutBounce(2*t-1)+.5};function of(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function af(t){return of(t)?t:new $u(t)}function sf(t){return of(t)?t:new $u(t).saturate(.5).darken(.1).hexString()}const cf=["x","y","borderWidth","radius","tension"],lf=["color","borderColor","backgroundColor"],uf=new Map;function hf(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=uf.get(n);return r||(r=new Intl.NumberFormat(t,e),uf.set(n,r)),r}(e,n).format(t)}const ff={values:t=>Zu(t)?t:""+t,numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(i="scientific"),o=function(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}(t,n)}const a=Ch(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),hf(t,r,c)},logarithmic(t,e,n){if(0===t)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Ch(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?ff.numeric.call(this,t,e,n):""}};var df={formatters:ff};const pf=Object.create(null),mf=Object.create(null);function gf(t,e){if(!e)return t;const n=e.split(".");for(let e=0,r=n.length;e<r;++e){const r=n[e];t=t[r]||(t[r]=Object.create(null))}return t}function vf(t,e,n){return"string"==typeof e?lh(gf(t,e),n):lh(gf(t,""),e)}class yf{constructor(t,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>sf(e.backgroundColor),this.hoverBorderColor=(t,e)=>sf(e.borderColor),this.hoverColor=(t,e)=>sf(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return vf(this,t,e)}get(t){return gf(this,t)}describe(t,e){return vf(mf,t,e)}override(t,e){return vf(pf,t,e)}route(t,e,n,r){const i=gf(this,t),o=gf(this,n),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[r];return Ju(t)?Object.assign({},e,t):eh(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach(t=>t(this))}}var bf=new yf({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:lf},numbers:{type:"number",properties:cf}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:df.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function _f(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function xf(t,e,n,r){let i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const s=n.length;let c,l,u,h,f;for(c=0;c<s;c++)if(h=n[c],null==h||Zu(h)){if(Zu(h))for(l=0,u=h.length;l<u;l++)f=h[l],null==f||Zu(f)||(a=_f(t,i,o,a,f))}else a=_f(t,i,o,a,h);t.restore();const d=o.length/2;if(d>n.length){for(c=0;c<d;c++)delete i[o[c]];o.splice(0,d)}return a}function wf(t,e,n){const r=t.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function Sf(t,e){(e||t)&&((e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function Ef(t,e,n,r){kf(t,e,n,r,null)}function kf(t,e,n,r,i){let o,a,s,c,l,u,h,f;const d=e.pointStyle,p=e.rotation,m=e.radius;let g=(p||0)*wh;if(d&&"object"==typeof d&&(o=d.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(n,r),t.rotate(g),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),void t.restore();if(!(isNaN(m)||m<=0)){switch(t.beginPath(),d){default:i?t.ellipse(n,r,i/2,m,0,0,bh):t.arc(n,r,m,0,bh),t.closePath();break;case"triangle":u=i?i/2:m,t.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=kh,t.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=kh,t.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),t.closePath();break;case"rectRounded":l=.516*m,c=m-l,a=Math.cos(g+Eh)*c,h=Math.cos(g+Eh)*(i?i/2-l:c),s=Math.sin(g+Eh)*c,f=Math.sin(g+Eh)*(i?i/2-l:c),t.arc(n-h,r-s,l,g-yh,g-Sh),t.arc(n+f,r-a,l,g-Sh,g),t.arc(n+h,r+s,l,g,g+Sh),t.arc(n-f,r+a,l,g+Sh,g+yh),t.closePath();break;case"rect":if(!p){c=Math.SQRT1_2*m,u=i?i/2:c,t.rect(n-u,r-c,2*u,2*c);break}g+=Eh;case"rectRot":h=Math.cos(g)*(i?i/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(i?i/2:m),t.moveTo(n-h,r-s),t.lineTo(n+f,r-a),t.lineTo(n+h,r+s),t.lineTo(n-f,r+a),t.closePath();break;case"crossRot":g+=Eh;case"cross":h=Math.cos(g)*(i?i/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(i?i/2:m),t.moveTo(n-h,r-s),t.lineTo(n+h,r+s),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"star":h=Math.cos(g)*(i?i/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(i?i/2:m),t.moveTo(n-h,r-s),t.lineTo(n+h,r+s),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a),g+=Eh,h=Math.cos(g)*(i?i/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(i?i/2:m),t.moveTo(n-h,r-s),t.lineTo(n+h,r+s),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"line":a=i?i/2:Math.cos(g)*m,s=Math.sin(g)*m,t.moveTo(n-a,r-s),t.lineTo(n+a,r+s);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(g)*(i?i/2:m),r+Math.sin(g)*m);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function Cf(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function Of(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Af(t){t.restore()}function Tf(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if("middle"===i){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===i!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function Lf(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Pf(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),a=e-o.actualBoundingBoxLeft,s=e+o.actualBoundingBoxRight,c=n-o.actualBoundingBoxAscent,l=n+o.actualBoundingBoxDescent,u=i.strikethrough?(c+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,u),t.lineTo(s,u),t.stroke()}}function Mf(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function jf(t,e,n,r,i,o={}){const a=Zu(e)?e:[e],s=o.strokeWidth>0&&""!==o.strokeColor;let c,l;for(t.save(),t.font=i.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Xu(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),c=0;c<a.length;++c)l=a[c],o.backdrop&&Mf(t,o.backdrop),s&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),Xu(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(l,n,r,o.maxWidth)),t.fillText(l,n,r,o.maxWidth),Pf(t,n,r,l,o),r+=Number(i.lineHeight);t.restore()}function Df(t,e){const{x:n,y:r,w:i,h:o,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*yh,yh,!0),t.lineTo(n,r+o-a.bottomLeft),t.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,yh,Sh,!0),t.lineTo(n+i-a.bottomRight,r+o),t.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,Sh,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-Sh,!0),t.lineTo(n+a.topLeft,r)}const If=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Rf=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Nf(t,e){const n=(""+t).match(If);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}const Ff=t=>+t||0;function Bf(t,e){const n={},r=Ju(e),i=r?Object.keys(e):e,o=Ju(t)?r?n=>eh(t[n],t[e[n]]):e=>t[e]:()=>t;for(const t of i)n[t]=Ff(o(t));return n}function zf(t){return Bf(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Hf(t){return Bf(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Vf(t){const e=zf(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function qf(t,e){t=t||{},e=e||bf.font;let n=eh(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=eh(t.style,e.style);r&&!(""+r).match(Rf)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:eh(t.family,e.family),lineHeight:Nf(eh(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:eh(t.weight,e.weight),string:""};return i.string=function(t){return!t||Xu(t.size)||Xu(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i}function Wf(t,e,n,r){let i,o,a,s=!0;for(i=0,o=t.length;i<o;++i)if(a=t[i],void 0!==a&&(void 0!==e&&"function"==typeof a&&(a=a(e),s=!1),void 0!==n&&Zu(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function Uf(t,e){return Object.assign(Object.create(t),e)}function Gf(t,e=[""],n,r,i=()=>t[0]){const o=n||t;void 0===r&&(r=rd("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:r,_getTarget:i,override:n=>Gf([n,...t],e,o,r)};return new Proxy(a,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>Zf(n,r,()=>function(t,e,n,r){let i;for(const o of e)if(i=rd(Kf(o,t),n),void 0!==i)return Xf(t,i)?ed(n,r,t,i):i}(r,e,t,n)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>id(t).includes(e),ownKeys:t=>id(t),set(t,e,n){const r=t._storage||(t._storage=i());return t[e]=r[e]=n,delete t._keys,!0}})}function $f(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Yf(t,r),setContext:e=>$f(t,e,n,r),override:i=>$f(t.override(i),e,n,r)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>Zf(t,e,()=>function(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=t;let s=r[e];return gh(s)&&a.isScriptable(e)&&(s=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t);let c=e(o,a||r);return s.delete(t),Xf(t,c)&&(c=ed(i._scopes,i,t,c)),c}(e,s,t,n)),Zu(s)&&s.length&&(s=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:s}=n;if(void 0!==o.index&&r(t))return e[o.index%e.length];if(Ju(e[0])){const n=e,r=i._scopes.filter(t=>t!==n);e=[];for(const c of n){const n=ed(r,i,t,c);e.push($f(n,o,a&&a[t],s))}}return e}(e,s,t,a.isIndexable)),Xf(e,s)&&(s=$f(s,i,o&&o[e],a)),s}(t,e,n)),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,r)=>(t[n]=r,delete e[n],!0)})}function Yf(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:gh(n)?n:()=>n,isIndexable:gh(r)?r:()=>r}}const Kf=(t,e)=>t?t+ph(e):e,Xf=(t,e)=>Ju(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Zf(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const r=n();return t[e]=r,r}function Jf(t,e,n){return gh(t)?t(e,n):t}const Qf=(t,e)=>!0===t?e:"string"==typeof t?dh(e,t):void 0;function td(t,e,n,r,i){for(const o of e){const e=Qf(n,o);if(e){t.add(e);const o=Jf(e._fallback,n,i);if(void 0!==o&&o!==n&&o!==r)return o}else if(!1===e&&void 0!==r&&n!==r)return null}return!1}function ed(t,e,n,r){const i=e._rootScopes,o=Jf(e._fallback,n,r),a=[...t,...i],s=new Set;s.add(r);let c=nd(s,a,n,o||n,r);return null!==c&&(void 0===o||o===n||(c=nd(s,a,o,c,r),null!==c))&&Gf(Array.from(s),[""],i,o,()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];return Zu(i)&&Ju(n)?n:i||{}}(e,n,r))}
vendor: 6,218 bytes, line 2
2function nd(t,e,n,r,i){for(;n;)n=td(t,e,n,r,i);return n}function rd(t,e){for(const n of e){if(!n)continue;const e=n[t];if(void 0!==e)return e}}function id(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter(t=>!t.startsWith("_")))e.add(t);return Array.from(e)}(t._scopes)),e}function od(t,e,n,r){const{iScale:i}=t,{key:o="r"}=this._parsing,a=new Array(r);let s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=e[l],a[s]={r:i.parse(dh(u,o),l)};return a}const ad=Number.EPSILON||1e-14,sd=(t,e)=>e<t.length&&!t[e].skip&&t[e],cd=t=>"x"===t?"y":"x";function ld(t,e,n,r){const i=t.skip?e:t,o=e,a=n.skip?e:n,s=Rh(o,i),c=Rh(a,o);let l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const h=r*l,f=r*u;return{previous:{x:o.x-h*(a.x-i.x),y:o.y-h*(a.y-i.y)},next:{x:o.x+f*(a.x-i.x),y:o.y+f*(a.y-i.y)}}}function ud(t,e,n){return Math.max(Math.min(t,n),e)}function hd(t,e,n,r,i){let o,a,s,c;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){const n=cd(e),r=t.length,i=Array(r).fill(0),o=Array(r);let a,s,c,l=sd(t,0);for(a=0;a<r;++a)if(s=c,c=l,l=sd(t,a+1),c){if(l){const t=l[e]-c[e];i[a]=0!==t?(l[n]-c[n])/t:0}o[a]=s?l?Oh(i[a-1])!==Oh(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}!function(t,e,n){const r=t.length;let i,o,a,s,c,l=sd(t,0);for(let u=0;u<r-1;++u)c=l,l=sd(t,u+1),c&&l&&(Ah(e[u],0,ad)?n[u]=n[u+1]=0:(i=n[u]/e[u],o=n[u+1]/e[u],s=Math.pow(i,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),n[u]=i*a*e[u],n[u+1]=o*a*e[u])))}(t,i,o),function(t,e,n="x"){const r=cd(n),i=t.length;let o,a,s,c=sd(t,0);for(let l=0;l<i;++l){if(a=s,s=c,c=sd(t,l+1),!s)continue;const i=s[n],u=s[r];a&&(o=(i-a[n])/3,s[`cp1${n}`]=i-o,s[`cp1${r}`]=u-o*e[l]),c&&(o=(c[n]-i)/3,s[`cp2${n}`]=i+o,s[`cp2${r}`]=u+o*e[l])}}(t,o,e)}(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)s=t[o],c=ld(n,s,t[Math.min(o+1,a-(r?0:1))%a],e.tension),s.cp1x=c.previous.x,s.cp1y=c.previous.y,s.cp2x=c.next.x,s.cp2y=c.next.y,n=s}e.capBezierPoints&&function(t,e){let n,r,i,o,a,s=Cf(t[0],e);for(n=0,r=t.length;n<r;++n)a=o,o=s,s=n<r-1&&Cf(t[n+1],e),o&&(i=t[n],a&&(i.cp1x=ud(i.cp1x,e.left,e.right),i.cp1y=ud(i.cp1y,e.top,e.bottom)),s&&(i.cp2x=ud(i.cp2x,e.left,e.right),i.cp2y=ud(i.cp2y,e.top,e.bottom)))}(t,n)}function fd(){return"undefined"!=typeof window&&"undefined"!=typeof document}function dd(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function pd(t,e,n){let r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}const md=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),gd=["top","right","bottom","left"];function vd(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=gd[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function yd(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=md(n),o="border-box"===i.boxSizing,a=vd(i,"padding"),s=vd(i,"border","width"),{x:c,y:l,box:u}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let a,s,c=!1;if(((t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot))(i,o,t.target))a=i,s=o;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,s=r.clientY-t.top,c=!0}return{x:a,y:s,box:c}}(t,n),h=a.left+(u&&s.left),f=a.top+(u&&s.top);let{width:d,height:p}=e;return o&&(d-=a.width+s.width,p-=a.height+s.height),{x:Math.round((c-h)/d*n.width/r),y:Math.round((l-f)/p*n.height/r)}}const bd=t=>Math.round(10*t)/10;function _d(t,e,n){const r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}const xd=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};fd()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function wd(t,e){const n=function(t,e){return md(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Sd(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function Ed(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function kd(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=Sd(t,i,n),s=Sd(i,o,n),c=Sd(o,e,n),l=Sd(a,s,n),u=Sd(s,c,n);return Sd(l,u,n)}function Cd(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function Od(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Ad(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Td(t){return"angle"===t?{between:Bh,compare:Nh,normalize:Fh}:{between:Hh,compare:(t,e)=>t-e,normalize:t=>t}}function Ld({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n==0,style:i}}function Pd(t,e,n){if(!n)return[t];const{property:r,start:i,end:o}=n,a=e.length,{compare:s,between:c,normalize:l}=Td(r),{start:u,end:h,loop:f,style:d}=function(t,e,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=Td(r),c=e.length;let l,u,{start:h,end:f,loop:d}=t;if(d){for(h+=c,f+=c,l=0,u=c;l<u&&a(s(e[h%c][r]),i,o);++l)h--,f--;h%=c,f%=c}return f<h&&(f+=c),{start:h,end:f,loop:d,style:t.style}}(t,e,n),p=[];let m,g,v,y=!1,b=null;const _=()=>y||c(i,v,m)&&0!==s(i,v),x=()=>!y||0===s(o,m)||c(o,v,m);for(let t=u,n=u;t<=h;++t)g=e[t%a],g.skip||(m=l(g[r]),m!==v&&(y=c(m,i,o),null===b&&_()&&(b=0===s(m,i)?t:n),null!==b&&x()&&(p.push(Ld({start:b,end:t,loop:f,count:a,style:d})),b=null),n=t,v=m));return null!==b&&p.push(Ld({start:b,end:h,loop:f,count:a,style:d})),p}function Md(t,e){const n=[],r=t.segments;for(let i=0;i<r.length;i++){const o=Pd(r[i],t.points,e);o.length&&n.push(...o)}return n}
vendor: 4,172 bytes, line 2
2function jd(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Dd(t,e){if(!e)return!1;const n=[],r=function(t,e){return of(e)?(n.includes(e)||n.push(e),n.indexOf(e)):e};return JSON.stringify(t,r)!==JSON.stringify(e,r)}function Id(t,e,n){return t.options.clip?t[n]:e[n]}function Rd(t,e){const n=e._clip;if(n.disabled)return!1;const r=function(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Id(n,e,"left"),right:Id(n,e,"right"),top:Id(r,e,"top"),bottom:Id(r,e,"bottom")}:e}(e,t.chartArea);return{left:!1===n.left?0:r.left-(!0===n.left?0:n.left),right:!1===n.right?t.width:r.right+(!0===n.right?0:n.right),top:!1===n.top?0:r.top-(!0===n.top?0:n.top),bottom:!1===n.bottom?t.height:r.bottom+(!0===n.bottom?0:n.bottom)}}class Nd{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,r){const i=e.listeners[r],o=e.duration;i.forEach(r=>r({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=Yh.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),s=!0):(i[a]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,t,"progress")),i.length||(n.running=!1,this._notify(r,n,t,"complete"),n.initial=!1),e+=i.length}),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((t,e)=>Math.max(t,e._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Fd=new Nd;const Bd="transparent",zd={boolean:(t,e,n)=>n>.5?e:t,color(t,e,n){const r=af(t||Bd),i=r.valid&&af(e||Bd);return i&&i.valid?i.mix(r,n).hexString():e},number:(t,e,n)=>t+(e-t)*n};class Hd{constructor(t,e,n,r){const i=e[n];r=Wf([t.to,r,i,t.from]);const o=Wf([t.from,i,r]);this._active=!0,this._fn=t.fn||zd[t.type||typeof o],this._easing=rf[t.easing]||rf.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=o,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const r=this._target[this._prop],i=n-this._start,o=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=Wf([t.to,e,r,t.from]),this._from=Wf([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||e<n),!this._active)return this._target[r]=a,void this._notify(!0);e<0?this._target[r]=i:(s=e/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,a,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,n)=>{t.push({res:e,rej:n})})}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let t=0;t<n.length;t++)n[t][e]()}}class Vd{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!Ju(t))return;const e=Object.keys(bf.animation),n=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];
vendor: 4,204 bytes, line 2
2if(!Ju(i))return;const o={};for(const t of e)o[t]=i[t];(Zu(i.properties)&&i.properties||[r]).forEach(t=>{t!==r&&n.has(t)||n.set(t,o)})})}_animateOptions(t,e){const n=e.options,r=function(t,e){if(!e)return;let n=t.options;if(n)return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;t.options=e}(t,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(t,e){const n=[],r=Object.keys(e);for(let e=0;e<r.length;e++){const i=t[r[e]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(t.options.$animations,n).then(()=>{t.options=n},()=>{}),i}_createAnimations(t,e){const n=this._properties,r=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const c=o[s];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(t,e));continue}const l=e[c];let u=i[c];const h=n.get(c);if(u){if(h&&u.active()){u.update(h,l,a);continue}u.cancel()}h&&h.duration?(i[c]=u=new Hd(h,t,c,l),r.push(u)):t[c]=l}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(Fd.add(this._chart,n),!0):void 0}}function qd(t,e){const n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function Wd(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function Ud(t,e,n,r={}){const i=t.keys,o="single"===r.mode;let a,s,c,l;if(null===e)return;let u=!1;for(a=0,s=i.length;a<s;++a){if(c=+i[a],c===n){if(u=!0,r.all)continue;break}l=t.values[c],Qu(l)&&(o||0===e||Oh(e)===Oh(l))&&(e+=l)}return u||r.all?e:0}function Gd(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function $d(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Yd(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const e=t[i.index];if(n&&e>0||!n&&e<0)return i.index}return null}function Kd(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,c=o.axis,l=a.axis,u=function(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}(o,a,r),h=e.length;let f;for(let t=0;t<h;++t){const n=e[t],{[c]:o,[l]:h}=n;f=(n._stacks||(n._stacks={}))[l]=$d(i,u,o),f[s]=h,f._top=Yd(f,a,!0,r.type),f._bottom=Yd(f,a,!1,r.type),(f._visualValues||(f._visualValues={}))[s]=h}}function Xd(t,e){const n=t.scales;return Object.keys(n).filter(t=>n[t].axis===e).shift()}function Zd(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][n])return;delete e[r][n],void 0!==e[r]._visualValues&&void 0!==e[r]._visualValues[n]&&delete e[r]._visualValues[n]}}}const Jd=t=>"reset"===t||"none"===t,Qd=(t,e)=>e?t:Object.assign({},t);class tp{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Gd(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Zd(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),r=(t,e,n,r)=>"x"===t?e:"r"===t?r:n,i=e.xAxisID=eh(n.xAxisID,Xd(t,"x")),o=e.yAxisID=eh(n.yAxisID,Xd(t,"y")),a=e.rAxisID=eh(n.rAxisID,Xd(t,"r")),s=e.indexAxis,c=e.iAxisID=r(s,i,o,a),l=e.vAxisID=r(s,o,i,a);e.xScale=this.getScaleForId(i),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.
vendor: 32,779 bytes, line 2
2iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Gh(this._data,this),t._stacked&&Zd(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if(Ju(e)){const t=this._cachedMeta;this._data=function(t,e){const{iScale:n,vScale:r}=e,i="x"===n.axis?"x":"y",o="x"===r.axis?"x":"y",a=Object.keys(t),s=new Array(a.length);let c,l,u;for(c=0,l=a.length;c<l;++c)u=a[c],s[c]={[i]:u,[o]:t[u]};return s}(e,t)}else if(n!==e){if(n){Gh(n,this);const t=this._cachedMeta;Zd(t),t._parsed=[]}e&&Object.isExtensible(e)&&(i=this,(r=e)._chartjs?r._chartjs.listeners.push(i):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[i]}}),Uh.forEach(t=>{const e="_onData"+ph(t),n=r[t];Object.defineProperty(r,t,{configurable:!0,enumerable:!1,value(...t){const i=n.apply(this,t);return r._chartjs.listeners.forEach(n=>{"function"==typeof n[e]&&n[e](...t)}),i}})}))),this._syncList=[],this._data=e}var r,i}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=e._stacked;e._stacked=Gd(e.vScale,e),e.stack!==n.stack&&(r=!0,Zd(e),e.stack=n.stack),this._resyncElements(t),(r||i!==e._stacked)&&(Kd(this,e._parsed),e._stacked=Gd(e.vScale,e))}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:o}=n,a=i.axis;let s,c,l,u=0===t&&e===r.length||n._sorted,h=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,l=r;else{l=Zu(r[t])?this.parseArrayData(n,r,t,e):Ju(r[t])?this.parseObjectData(n,r,t,e):this.parsePrimitiveData(n,r,t,e);const i=()=>null===c[a]||h&&c[a]<h[a];for(s=0;s<e;++s)n._parsed[s+t]=c=l[s],u&&(i()&&(u=!1),h=c);n._sorted=u}o&&Kd(this,l)}parsePrimitiveData(t,e,n,r){const{iScale:i,vScale:o}=t,a=i.axis,s=o.axis,c=i.getLabels(),l=i===o,u=new Array(r);let h,f,d;for(h=0,f=r;h<f;++h)d=h+n,u[h]={[a]:l||i.parse(c[d],d),[s]:o.parse(e[d],d)};return u}parseArrayData(t,e,n,r){const{xScale:i,yScale:o}=t,a=new Array(r);let s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=e[l],a[s]={x:i.parse(u[0],l),y:o.parse(u[1],l)};return a}parseObjectData(t,e,n,r){const{xScale:i,yScale:o}=t,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,c=new Array(r);let l,u,h,f;for(l=0,u=r;l<u;++l)h=l+n,f=e[h],c[l]={x:i.parse(dh(f,a),h),y:o.parse(dh(f,s),h)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const r=this.chart,i=this._cachedMeta,o=e[t.axis];return Ud({keys:Wd(r,!0),values:e._stacks[t.axis]._visualValues},o,i.index,{mode:n})}updateRangeFromParsed(t,e,n,r){const i=n[e.axis];let o=null===i?NaN:i;const a=r&&n._stacks[e.axis];r&&a&&(r.values=a,o=Ud(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const n=this._cachedMeta,r=n._parsed,i=n._sorted&&t===n.iScale,o=r.length,a=this._getOtherScale(t),s=((t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Wd(n,!0),values:null})(e,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:u}=function(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(a);let h,f;function d(){f=r[h];const e=f[a.axis];return!Qu(f[t.axis])||l>e||u<e}for(h=0;h<o&&(d()||(this.updateRangeFromParsed(c,t,f,s),!i));++h);if(i)for(h=o-1;h>=0;--h)if(!d()){this.updateRangeFromParsed(c,t,f,s);break}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let r,i,o;for(r=0,i=e.length;r<i;++r)o=e[r][t.axis],Qu(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,r=e.vScale,i=this.getParsed(t);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,n,r,i;return Ju(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i,disabled:!1===t}}(eh(this.options.clip,function(t,e,n){if(!1===n)return!1;const r=qd(t,n),i=qd(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,r=n.data||[],i=e.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||r.length-a,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(t,i,a,s),l=a;l<a+s;++l){const e=r[l];e.hidden||(e.active&&c?o.push(e):e.draw(t,i))}for(l=0;l<o.length;++l)o[l].draw(t,i)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];i=e.$context||(e.$context=function(t,e,n){return Uf(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=function(t,e){return Uf(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!e,i.mode=n,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",n){const r="active"===e,i=this._cachedDataOpts,o=t+"-"+e,a=i[o],s=this.enableOptionSharing&&mh(n);if(a)return Qd(a,s);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,t),u=r?[`${t}Hover`,"hover",t,""]:[t,""],h=c.getOptionScopes(this.getDataset(),l),f=Object.keys(bf.elements[t]),d=c.resolveNamedOptions(h,f,()=>this.getContext(n,r,e),u);return d.$shared&&(d.$shared=s,i[o]=Object.freeze(Qd(d,s))),d}_resolveAnimations(t,e,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${e}`,a=i[o];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,e),o=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(o,this.getContext(t,n,e))}const c=new Vd(r,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Jd(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),r=this._sharedOptions,i=this.getSharedOptions(n),o=this.includeOptions(e,i)||i!==r;return this.updateSharedOptions(i,e,n),{sharedOptions:i,includeOptions:o}}updateElement(t,e,n,r){Jd(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}updateSharedOptions(t,e,n){t&&!Jd(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,r){t.active=r;const i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[t,e,n]of this._syncList)this[t](e,n);this._syncList=[];const r=n.length,i=e.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,e,n=!0){const r=this._cachedMeta,i=r.data,o=t+e;let a;const s=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(s(i),a=t;a<o;++a)i[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(t,e),n&&this.updateElements(i,t,e,"reset")}updateElements(t,e,n,r){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(t,e);n._stacked&&Zd(n,r)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,r]=t;this[e](n,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function ep(t){const e=t.iScale,n=function(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let e=0,i=n.length;e<i;e++)r=r.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=$h(r.sort((t,e)=>t-e))}return t._cache.$bar}(e,t.type);let r,i,o,a,s=e._length;const c=()=>{32767!==o&&-32768!==o&&(mh(a)&&(s=Math.min(s,Math.abs(o-a)||s)),a=o)};for(r=0,i=n.length;r<i;++r)o=e.getPixelForValue(n[r]),c();for(a=void 0,r=0,i=e.ticks.length;r<i;++r)o=e.getPixelForTick(r),c();return s}function np(t,e,n,r){return Zu(t)?function(t,e,n,r){const i=n.parse(t[0],r),o=n.parse(t[1],r),a=Math.min(i,o),s=Math.max(i,o);let c=a,l=s;Math.abs(a)>Math.abs(s)&&(c=s,l=a),e[n.axis]=l,e._custom={barStart:c,barEnd:l,start:i,end:o,min:a,max:s}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function rp(t,e,n,r){const i=t.iScale,o=t.vScale,a=i.getLabels(),s=i===o,c=[];let l,u,h,f;for(l=n,u=n+r;l<u;++l)f=e[l],h={},h[i.axis]=s||i.parse(a[l],l),c.push(np(f,h,o,l));return c}function ip(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function op(t,e,n,r){let i=e.borderSkipped;const o={};if(!i)return void(t.borderSkipped=o);if(!0===i)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:c,top:l,bottom:u}=function(t){let e,n,r,i,o;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:e,top:i,bottom:o}}(t);"middle"===i&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?i=l:(n._bottom||0)===r?i=u:(o[ap(u,a,s,c)]=!0,i=l)),o[ap(i,a,s,c)]=!0,t.borderSkipped=o}function ap(t,e,n,r){var i,o,a;return r?(a=n,t=sp(t=(i=t)===(o=e)?a:i===a?o:i,n,e)):t=sp(t,e,n),t}function sp(t,e,n){return"start"===t?e:"end"===t?n:t}function cp(t,{inflateAmount:e},n){t.inflateAmount="auto"===e?1===n?.33:0:e}class lp extends tp{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n,color:r}}=t.legend.options;return e.labels.map((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:r,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const n=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=n;else{let i,o,a=t=>+n[t];if(Ju(n[t])){const{key:t="value"}=this._parsing;a=e=>+dh(n[e],t)}for(i=t,o=t+e;i<o;++i)r._parsed[i]=a(i)}}_getRotation(){return Mh(this.options.rotation-90)}_getCircumference(){return Mh(this.options.circumference)}_getRotationExtents(){let t=bh,e=-bh;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),o=r._getCircumference();t=Math.min(t,i),e=Math.max(e,i+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:n}=e,r=this._cachedMeta,i=r.data,o=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-o)/2,0),s=Math.min((l=a,"string"==typeof(c=this.options.cutout)&&c.endsWith("%")?parseFloat(c)/100:+c/l),1);var c,l;const u=this._getRingWeight(this.index),{circumference:h,rotation:f}=this._getRotationExtents(),{ratioX:d,ratioY:p,offsetX:m,offsetY:g}=function(t,e,n){let r=1,i=1,o=0,a=0;if(e<bh){const s=t,c=s+e,l=Math.cos(s),u=Math.sin(s),h=Math.cos(c),f=Math.sin(c),d=(t,e,r)=>Bh(t,s,c,!0)?1:Math.max(e,e*n,r,r*n),p=(t,e,r)=>Bh(t,s,c,!0)?-1:Math.min(e,e*n,r,r*n),m=d(0,l,h),g=d(Sh,u,f),v=p(yh,l,h),y=p(yh+Sh,u,f);r=(m-v)/2,i=(g-y)/2,o=-(m+v)/2,a=-(g+y)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:a}}(f,h,s),v=(n.width-o)/d,y=(n.height-o)/p,b=Math.max(Math.min(v,y)/2,0),_=nh(this.options.radius,b),x=(_-Math.max(_*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=m*_,this.offsetY=g*_,r.total=this.calculateTotal(),this.outerRadius=_-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*u,0),this.updateElements(i,0,i.length,t)}_circumference(t,e){const n=this.options,r=this._cachedMeta,i=this._getCircumference();return e&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||null===r._parsed[t]||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*i/bh)}updateElements(t,e,n,r){const i="reset"===r,o=this.chart,a=o.chartArea,s=o.options.animation,c=(a.left+a.right)/2,l=(a.top+a.bottom)/2,u=i&&s.animateScale,h=u?0:this.innerRadius,f=u?0:this.outerRadius,{sharedOptions:d,includeOptions:p}=this._getSharedOptions(e,r);let m,g=this._getRotation();for(m=0;m<e;++m)g+=this._circumference(m,i);for(m=e;m<e+n;++m){const e=this._circumference(m,i),n=t[m],o={x:c+this.offsetX,y:l+this.offsetY,startAngle:g,endAngle:g+e,circumference:e,outerRadius:f,innerRadius:h};p&&(o.options=d||this.resolveDataElementOptions(m,n.active?"active":r)),g+=e,this.updateElement(n,m,o,r)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let n,r=0;for(n=0;n<e.length;n++){const i=t._parsed[n];null===i||isNaN(i)||!this.chart.getDataVisibility(n)||e[n].hidden||(r+=Math.abs(i))}return r}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?bh*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=hf(e._parsed[t],n.options.locale);return{label:r[t]||"",value:i}}getMaxBorderWidth(t){let e=0;const n=this.chart;let r,i,o,a,s;if(!t)for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){o=n.getDatasetMeta(r),t=o.data,a=o.controller;break}if(!t)return 0;for(r=0,i=t.length;r<i;++r)s=a.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(e=Math.max(e,s.borderWidth||0,s.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let n=0,r=t.length;n<r;++n){const t=this.resolveDataElementOptions(n);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e}_getRingWeight(t){return Math.max(eh(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class up extends tp{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n,color:r}}=t.legend.options;return e.labels.map((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:r,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=hf(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:i}}parseObjectData(t,e,n,r){return od.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((t,n)=>{const r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(r<e.min&&(e.min=r),r>e.max&&(e.max=r))}),e}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(r/2,0),o=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,n,r){const i="reset"===r,o=this.chart,a=o.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*yh;let h,f=u;const d=360/this.countVisibleElements();for(h=0;h<e;++h)f+=this._computeAngle(h,r,d);for(h=e;h<e+n;h++){const e=t[h];let n=f,p=f+this._computeAngle(h,r,d),m=o.getDataVisibility(h)?s.getDistanceFromCenterForValue(this.getParsed(h).r):0;f=p,i&&(a.animateScale&&(m=0),a.animateRotate&&(n=p=u));const g={x:c,y:l,innerRadius:0,outerRadius:m,startAngle:n,endAngle:p,options:this.resolveDataElementOptions(h,e.active?"active":r)};this.updateElement(e,h,g,r)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach((t,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&e++}),e}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?Mh(this.resolveDataElementOptions(t,e).angle||n):0}}var hp=Object.freeze({__proto__:null,BarController:class extends tp{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,n,r){return rp(t,e,n,r)}parseArrayData(t,e,n,r){return rp(t,e,n,r)}parseObjectData(t,e,n,r){const{iScale:i,vScale:o}=t,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,c="x"===i.axis?a:s,l="x"===o.axis?a:s,u=[];let h,f,d,p;for(h=n,f=n+r;h<f;++h)p=e[h],d={},d[i.axis]=i.parse(dh(p,c),h),u.push(np(dh(p,l),d,o,h));return u}updateRangeFromParsed(t,e,n,r){super.updateRangeFromParsed(t,e,n,r);const i=n._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:r}=e,i=this.getParsed(t),o=i._custom,a=ip(o)?"["+o.start+", "+o.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+n.getLabelForValue(i[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,n,r){const i="reset"===r,{index:o,_cachedMeta:{vScale:a}}=this,s=a.getBasePixel(),c=a.isHorizontal(),l=this._getRuler(),{sharedOptions:u,includeOptions:h}=this._getSharedOptions(e,r);for(let f=e;f<e+n;f++){const e=this.getParsed(f),n=i||Xu(e[a.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),d=this._calculateBarIndexPixels(f,l),p=(e._stacks||{})[a.axis],m={horizontal:c,base:n.base,enableBorderRadius:!p||ip(e._custom)||o===p._top||o===p._bottom,x:c?n.head:d.center,y:c?d.center:n.head,height:c?d.size:Math.abs(n.size),width:c?Math.abs(n.size):d.size};h&&(m.options=u||this.resolveDataElementOptions(f,t[f].active?"active":r));const g=m.options||t[f].options;op(m,g,p,o),cp(m,g,l.ratio),this.updateElement(t[f],f,m,r)}}_getStacks(t,e){const{iScale:n}=this._cachedMeta,r=n.getMatchingVisibleMetas(this._type).filter(t=>t.controller.options.grouped),i=n.options.stacked,o=[],a=this._cachedMeta.controller.getParsed(e),s=a&&a[n.axis],c=t=>{const e=t._parsed.find(t=>t[n.axis]===s),r=e&&e[t.vScale.axis];if(Xu(r)||isNaN(r))return!0};for(const n of r)if((void 0===e||!c(n))&&((!1===i||-1===o.indexOf(n.stack)||void 0===i&&void 0===n.stack)&&o.push(n.stack),n.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,e=this.chart.options.indexAxis;return Object.keys(t).filter(n=>t[n].axis===e).shift()}_getAxis(){const t={},e=this.getFirstScaleIdForIndexAxis();for(const n of this.chart.data.datasets)t[eh("x"===this.chart.options.indexAxis?n.xAxisID:n.yAxisID,e)]=!0;return Object.keys(t)}_getStackIndex(t,e,n){const r=this._getStacks(t,n),i=void 0!==e?r.indexOf(e):-1;return-1===i?r.length-1:i}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,r=[];let i,o;for(i=0,o=e.data.length;i<o;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));const a=t.barThickness;return{min:a||ep(e),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n,index:r},options:{base:i,minBarLength:o}}=this,a=i||0,s=this.getParsed(t),c=s._custom,l=ip(c);let u,h,f=s[e.axis],d=0,p=n?this.applyStack(e,s,n):f;p!==f&&(d=p-f,p=f),l&&(f=c.barStart,p=c.barEnd-c.barStart,0!==f&&Oh(f)!==Oh(c.barEnd)&&(d=0),d+=f);const m=Xu(i)||l?d:i;let g=e.getPixelForValue(m);if(u=this.chart.getDataVisibility(t)?e.getPixelForValue(d+p):g,h=u-g,Math.abs(h)<o){h=function(t,e,n){return 0!==t?Oh(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}(h,e,a)*o,f===a&&(g-=h/2);const t=e.getPixelForDecimal(0),i=e.getPixelForDecimal(1),c=Math.min(t,i),d=Math.max(t,i);g=Math.max(Math.min(g,d),c),u=g+h,n&&!l&&(s._stacks[e.axis]._visualValues[r]=e.getValueForPixel(u)-e.getValueForPixel(g))}if(g===e.getPixelForValue(a)){const t=Oh(h)*e.getLineWidthForValue(a)/2;g+=t,h-=t}return{size:h,base:g,head:u,center:u+h/2}}_calculateBarIndexPixels(t,e){const n=e.scale,r=this.options,i=r.skipNull,o=eh(r.maxBarThickness,1/0);let a,s;const c=this._getAxisCount();if(e.grouped){const n=i?this._getStackCount(t):e.stackCount,l="flex"===r.barThickness?function(t,e,n,r){const i=e.pixels,o=i[t];let a=t>0?i[t-1]:null,s=t<i.length-1?i[t+1]:null;const c=n.categoryPercentage;null===a&&(a=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-a);const l=o-(o-Math.min(a,s))/2*c;return{chunk:Math.abs(s-a)/2*c/r,ratio:n.barPercentage,start:l}}(t,e,r,n*c):function(t,e,n,r){const i=n.barThickness;let o,a;return Xu(i)?(o=e.min*n.categoryPercentage,a=n.barPercentage):(o=i*r,a=1),{chunk:o/r,ratio:a,start:e.pixels[t]-o/2}}(t,e,r,n*c),u="x"===this.chart.options.indexAxis?this.getDataset().xAxisID:this.getDataset().yAxisID,h=this._getAxis().indexOf(eh(u,this.getFirstScaleIdForIndexAxis())),f=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0)+h;a=l.start+l.chunk*f+l.chunk/2,s=Math.min(o,l.chunk*l.ratio)}else a=n.getPixelForValue(this.getParsed(t)[n.axis],t),s=Math.min(o,e.min*e.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,r=n.length;let i=0;for(;i<r;++i)null===this.getParsed(i)[e.axis]||n[i].hidden||n[i].draw(this._ctx)}},BubbleController:class extends tp{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,n,r){const i=super.parsePrimitiveData(t,e,n,r);for(let t=0;t<i.length;t++)i[t]._custom=this.resolveDataElementOptions(t+n).radius;return i}parseArrayData(t,e,n,r){const i=super.parseArrayData(t,e,n,r);for(let t=0;t<i.length;t++){const r=e[n+t];i[t]._custom=eh(r[2],this.resolveDataElementOptions(t+n).radius)}return i}parseObjectData(t,e,n,r){const i=super.parseObjectData(t,e,n,r);for(let t=0;t<i.length;t++){const r=e[n+t];i[t]._custom=eh(r&&r.r&&+r.r,this.resolveDataElementOptions(t+n).radius)}return i}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=e,o=this.getParsed(t),a=r.getLabelForValue(o.x),s=i.getLabelForValue(o.y),c=o._custom;return{label:n[t]||"",value:"("+a+", "+s+(c?", "+c:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(e,r),l=o.axis,u=a.axis;for(let h=e;h<e+n;h++){const e=t[h],n=!i&&this.getParsed(h),f={},d=f[l]=i?o.getPixelForDecimal(.5):o.getPixelForValue(n[l]),p=f[u]=i?a.getBasePixel():a.getPixelForValue(n[u]);f.skip=isNaN(d)||isNaN(p),c&&(f.options=s||this.resolveDataElementOptions(h,e.active?"active":r),i&&(f.options.radius=0)),this.updateElement(e,h,f,r)}}resolveDataElementOptions(t,e){const n=this.getParsed(t);let r=super.resolveDataElementOptions(t,e);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const i=r.radius;return"active"!==e&&(r.radius=0),r.radius+=eh(n&&n._custom,i),r}},DoughnutController:lp,LineController:class extends tp{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=e,o=this.chart._animationsDisabled;let{start:a,count:s}=Jh(e,r,o);this._drawStart=a,this._drawCount=s,Qh(e)&&(a=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:c},t),this.updateElements(r,a,s,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:o,vScale:a,_stacked:s,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:u}=this._getSharedOptions(e,r),h=o.axis,f=a.axis,{spanGaps:d,segment:p}=this.options,m=Lh(d)?d:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||i||"none"===r,v=e+n,y=t.length;let b=e>0&&this.getParsed(e-1);for(let n=0;n<y;++n){const d=t[n],y=g?d:{};if(n<e||n>=v){y.skip=!0;continue}const _=this.getParsed(n),x=Xu(_[f]),w=y[h]=o.getPixelForValue(_[h],n),S=y[f]=i||x?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,_,s):_[f],n);y.skip=isNaN(w)||isNaN(S)||x,y.stop=n>0&&Math.abs(_[h]-b[h])>m,p&&(y.parsed=_,y.raw=c.data[n]),u&&(y.options=l||this.resolveDataElementOptions(n,d.active?"active":r)),g||this.updateElement(d,n,y,r),b=_}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}},PieController:class extends lp{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:up,RadarController:class extends tp{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}parseObjectData(t,e,n,r){return od.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta,n=e.dataset,r=e.data||[],i=e.iScale.getLabels();if(n.points=r,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===r.length,options:e};this.updateElement(n,void 0,o,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,n,r){const i=this._cachedMeta.rScale,o="reset"===r;for(let a=e;a<e+n;a++){const e=t[a],n=this.resolveDataElementOptions(a,e.active?"active":r),s=i.getPointPositionForValue(a,this.getParsed(a).r),c=o?i.xCenter:s.x,l=o?i.yCenter:s.y,u={x:c,y:l,angle:s.angle,skip:isNaN(c)||isNaN(l),options:n};this.updateElement(e,a,u,r)}}},ScatterController:class extends tp{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){const e=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=e,o=this.getParsed(t),a=r.getLabelForValue(o.x),s=i.getLabelForValue(o.y);return{label:n[t]||"",value:"("+a+", "+s+")"}}update(t){const e=this._cachedMeta,{data:n=[]}=e,r=this.chart._animationsDisabled;let{start:i,count:o}=Jh(e,n,r);if(this._drawStart=i,this._drawCount=o,Qh(e)&&(i=0,o=n.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:i,_dataset:o}=e;i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!o._decimated,i.points=n;const a=this.resolveDatasetElementOptions(t);a.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:a},t)}else this.datasetElementType&&(delete e.dataset,this.datasetElementType=!1);this.updateElements(n,i,o,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,e,n,r){const i="reset"===r,{iScale:o,vScale:a,_stacked:s,_dataset:c}=this._cachedMeta,l=this.resolveDataElementOptions(e,r),u=this.getSharedOptions(l),h=this.includeOptions(r,u),f=o.axis,d=a.axis,{spanGaps:p,segment:m}=this.options,g=Lh(p)?p:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||i||"none"===r;let y=e>0&&this.getParsed(e-1);for(let l=e;l<e+n;++l){const e=t[l],n=this.getParsed(l),p=v?e:{},b=Xu(n[d]),_=p[f]=o.getPixelForValue(n[f],l),x=p[d]=i||b?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,n,s):n[d],l);p.skip=isNaN(_)||isNaN(x)||b,p.stop=l>0&&Math.abs(n[f]-y[f])>g,m&&(p.parsed=n,p.raw=c.data[l]),h&&(p.options=u||this.resolveDataElementOptions(l,e.active?"active":r)),v||this.updateElement(e,l,p,r),y=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}const n=t.dataset,r=n.options&&n.options.borderWidth||0;if(!e.length)return r;const i=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,i,o)/2}}});function fp(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class dp{static override(t){Object.assign(dp.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return fp()}parse(){return fp()}format(){return fp()}add(){return fp()}diff(){return fp()}startOf(){return fp()}endOf(){return fp()}}var pp=dp;function mp(t,e,n,r){const{controller:i,data:o,_sorted:a}=t,s=i._cachedMeta.iScale,c=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(s&&e===s.axis&&"r"!==e&&a&&o.length){const a=s._reversePixels?Wh:qh;if(!r){const r=a(o,e,n);if(c){const{vScale:e}=i._cachedMeta,{_parsed:n}=t,o=n.slice(0,r.lo+1).reverse().findIndex(t=>
2!Xu(t[e.axis]));r.lo-=Math.max(0,o);const a=n.slice(r.hi).findIndex(t=>!Xu(t[e.axis]));r.hi+=Math.max(0,a)}return r}if(i._sharedOptions){const t=o[0],r="function"==typeof t.getRange&&t.getRange(e);if(r){const t=a(o,e,n-r),i=a(o,e,n+r);return{lo:t.lo,hi:i.hi}}}}return{lo:0,hi:o.length-1}}function gp(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),a=n[e];for(let t=0,n=o.length;t<n;++t){const{index:n,data:s}=o[t],{lo:c,hi:l}=mp(o[t],e,a,i);for(let t=c;t<=l;++t){const e=s[t];e.skip||r(e,n,t)}}}function vp(t,e,n,r,i){const o=[];return i||t.isPointInArea(e)?(gp(t,n,e,function(n,a,s){(i||Cf(n,t.chartArea,0))&&n.inRange(e.x,e.y,r)&&o.push({element:n,datasetIndex:a,index:s})},!0),o):o}function yp(t,e,n,r,i,o){return o||t.isPointInArea(e)?"r"!==n||r?function(t,e,n,r,i,o){let a=[];const s=function(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){const i=e?Math.abs(t.x-r.x):0,o=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}(n);let c=Number.POSITIVE_INFINITY;return gp(t,n,e,function(n,l,u){const h=n.inRange(e.x,e.y,i);if(r&&!h)return;const f=n.getCenterPoint(i);if(!o&&!t.isPointInArea(f)&&!h)return;const d=s(e,f);d<c?(a=[{element:n,datasetIndex:l,index:u}],c=d):d===c&&a.push({element:n,datasetIndex:l,index:u})}),a}(t,e,n,r,i,o):function(t,e,n,r){let i=[];return gp(t,n,e,function(t,n,o){const{startAngle:a,endAngle:s}=t.getProps(["startAngle","endAngle"],r),{angle:c}=Ih(t,{x:e.x,y:e.y});Bh(c,a,s)&&i.push({element:t,datasetIndex:n,index:o})}),i}(t,e,n,i):[]}function bp(t,e,n,r,i){const o=[],a="x"===n?"inXRange":"inYRange";let s=!1;return gp(t,n,e,(t,r,c)=>{t[a]&&t[a](e[n],i)&&(o.push({element:t,datasetIndex:r,index:c}),s=s||t.inRange(e.x,e.y,i))}),r&&!s?[]:o}var _p={evaluateInteractionItems:gp,modes:{index(t,e,n,r){const i=yd(e,t),o=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?vp(t,i,o,r,a):yp(t,i,o,!1,r,a),c=[];return s.length?(t.getSortedVisibleDatasetMetas().forEach(t=>{const e=s[0].index,n=t.data[e];n&&!n.skip&&c.push({element:n,datasetIndex:t.index,index:e})}),c):[]},dataset(t,e,n,r){const i=yd(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;let s=n.intersect?vp(t,i,o,r,a):yp(t,i,o,!1,r,a);if(s.length>0){const e=s[0].datasetIndex,n=t.getDatasetMeta(e).data;s=[];for(let t=0;t<n.length;++t)s.push({element:n[t],datasetIndex:e,index:t})}return s},point:(t,e,n,r)=>vp(t,yd(e,t),n.axis||"xy",r,n.includeInvisible||!1),nearest(t,e,n,r){const i=yd(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;return yp(t,i,o,n.intersect,r,a)},x:(t,e,n,r)=>bp(t,yd(e,t),"x",n.intersect,r),y:(t,e,n,r)=>bp(t,yd(e,t),"y",n.intersect,r)}};const xp=["left","top","right","bottom"];function wp(t,e){return t.filter(t=>t.pos===e)}function Sp(t,e){return t.filter(t=>-1===xp.indexOf(t.pos)&&t.box.axis===e)}function Ep(t,e){return t.sort((t,n)=>{const r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function kp(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Cp(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Op(t,e,n,r){const{pos:i,box:o}=n,a=t.maxPadding;if(!Ju(i)){n.size&&(t[i]-=n.size);const e=r[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?o.height:o.width),n.size=e.size/e.count,t[i]+=n.size}o.getPadding&&Cp(a,o.getPadding());const s=Math.max(0,e.outerWidth-kp(a,t,"left","right")),c=Math.max(0,e.outerHeight-kp(a,t,"top","bottom")),l=s!==t.w,u=c!==t.h;return t.w=s,t.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function Ap(t,e){const n=e.maxPadding;return function(t){const r={left:0,top:0,right:0,bottom:0};return t.forEach(t=>{r[t]=Math.max(e[t],n[t])}),r}(t?["left","right"]:["top","bottom"])}function Tp(t,e,n,r){const i=[];let o,a,s,c,l,u;for(o=0,a=t.length,l=0;o<a;++o){s=t[o],c=s.box,c.update(s.width||e.w,s.height||e.h,Ap(s.horizontal,e));const{same:a,other:h}=Op(e,n,s,r);l|=a&&i.length,u=u||h,c.fullSize||i.push(s)}return l&&Tp(i,e,n,r)||u}function Lp(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function Pp(t,e,n,r){const i=n.padding;let{x:o,y:a}=e;for(const s of t){const t=s.box,c=r[s.stack]||{count:1,placed:0,weight:1},l=s.stackWeight/c.weight||1;if(s.horizontal){const r=e.w*l,o=c.size||t.height;mh(c.start)&&(a=c.start),t.fullSize?Lp(t,i.left,a,n.outerWidth-i.right-i.left,o):Lp(t,e.left+c.placed,a,r,o),c.start=a,c.placed+=r,a=t.bottom}else{const r=e.h*l,a=c.size||t.width;mh(c.start)&&(o=c.start),t.fullSize?Lp(t,o,i.top,a,n.outerHeight-i.bottom-i.top):Lp(t,o,e.top+c.placed,a,r),c.start=o,c.placed+=r,o=t.right}}e.x=o,e.y=a}
vendor: 10,142 bytes, line 2
2var Mp={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const i=Vf(t.options.layout.padding),o=Math.max(e-i.width,0),a=Math.max(n-i.height,0),s=function(t){const e=function(t){const e=[];let n,r,i,o,a,s;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],({position:o,options:{stack:a,stackWeight:s=1}}=i),e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return e}(t),n=Ep(e.filter(t=>t.box.fullSize),!0),r=Ep(wp(e,"left"),!0),i=Ep(wp(e,"right")),o=Ep(wp(e,"top"),!0),a=Ep(wp(e,"bottom")),s=Sp(e,"x"),c=Sp(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(c).concat(a).concat(s),chartArea:wp(e,"chartArea"),vertical:r.concat(i).concat(c),horizontal:o.concat(a).concat(s)}}(t.boxes),c=s.vertical,l=s.horizontal;ih(t.boxes,t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()});const u=c.reduce((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},i);Cp(f,Vf(r));const d=Object.assign({maxPadding:f,w:o,h:a,x:i.left,y:i.top},i),p=function(t,e){const n=function(t){const e={};for(const n of t){const{stack:t,pos:r,stackWeight:i}=n;if(!t||!xp.includes(r))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,a,s;for(o=0,a=t.length;o<a;++o){s=t[o];const{fullSize:a}=s.box,c=n[s.stack],l=c&&s.stackWeight/c.weight;s.horizontal?(s.width=l?l*r:a&&e.availableWidth,s.height=i):(s.width=r,s.height=l?l*i:a&&e.availableHeight)}return n}(c.concat(l),h);Tp(s.fullSize,d,h,p),Tp(c,d,h,p),Tp(l,d,h,p)&&Tp(c,d,h,p),function(t){const e=t.maxPadding;function n(n){const r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(d),Pp(s.leftAndTop,d,h,p),d.x+=d.w,d.y+=d.h,Pp(s.rightAndBottom,d,h,p),t.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},ih(s.chartArea,e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(d.w,d.h,{left:0,top:0,right:0,bottom:0})})}};class jp{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}isAttached(t){return!0}updateConfig(t){}}class Dp extends jp{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ip="$chartjs",Rp={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Np=t=>null===t||""===t,Fp=!!xd&&{passive:!0};function Bp(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Fp)}function zp(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Hp(t,e,n){const r=t.canvas,i=new MutationObserver(t=>{let e=!1;for(const n of t)e=e||zp(n.addedNodes,r),e=e&&!zp(n.removedNodes,r);e&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function Vp(t,e,n){const r=t.canvas,i=new MutationObserver(t=>{let e=!1;for(const n of t)e=e||zp(n.removedNodes,r),e=e&&!zp(n.addedNodes,r);e&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const qp=new Map;let Wp=0;function Up(){const t=window.devicePixelRatio;t!==Wp&&(Wp=t,qp.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function Gp(t,e,n){const r=t.canvas,i=r&&dd(r);if(!i)return;const o=Kh((t,e)=>{const r=i.clientWidth;n(t,e),r<i.clientWidth&&n()},window),a=new ResizeObserver(t=>{const e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||o(n,r)});return a.observe(i),function(t,e){qp.size||window.addEventListener("resize",Up),qp.set(t,e)}(t,o),a}function $p(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){qp.delete(t),qp.size||window.removeEventListener("resize",Up)}(t)}function Yp(t,e,n){const r=t.canvas,i=Kh(e=>{null!==t.ctx&&n(function(t,e){const n=Rp[t.type]||t.type,{x:r,y:i}=yd(t,e);return{type:n,chart:e,native:t,x:void 0!==r?r:null,y:void 0!==i?i:null}}(e,t))},t);return function(t,e,n){t&&t.addEventListener(e,n,Fp)}(r,e,i),i}class Kp extends jp{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[Ip]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Np(i)){const e=wd(t,"width");void 0!==e&&(t.width=e)}if(Np(r))if(""===t.style.height)t.height=t.width/(e||2);else{const e=wd(t,"height");void 0!==e&&(t.height=e)}}(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[Ip])return!1;const n=e[Ip].initial;["height","width"].forEach(t=>{const r=n[t];Xu(r)?e.removeAttribute(t):e.setAttribute(t,r)});const r=n.style||{};return Object.keys(r).forEach(t=>{e.style[t]=r[t]}),e.width=e.width,delete e[Ip],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),i={attach:Hp,detach:Vp,resize:Gp}[e]||Yp;r[e]=i(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),r=n[e];r&&(({attach:$p,detach:$p,resize:$p}[e]||Bp)(t,e,r),n[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,r){return function(t,e,n,r){const i=md(t),o=vd(i,"margin"),a=pd(i.maxWidth,t,"clientWidth")||xh,s=pd(i.maxHeight,t,"clientHeight")||xh,c=function(t,e,n){let r,i;if(void 0===e||void 0===n){const o=t&&dd(t);if(o){const t=o.getBoundingClientRect(),a=md(o),s=vd(a,"border","width"),c=vd(a,"padding");e=t.width-c.width-s.width,n=t.height-c.height-s.height,r=pd(a.maxWidth,o,"clientWidth"),i=pd(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||xh,maxHeight:i||xh}}(t,e,n);let{width:l,height:u}=c;if("content-box"===i.boxSizing){const t=vd(i,"border","width"),e=vd(i,"padding");l-=e.width+t.width,u-=e.height+t.height}return l=Math.max(0,l-o.width),u=Math.max(0,r?l/r:u-o.height),l=bd(Math.min(l,a,c.maxWidth)),u=bd(Math.min(u,s,c.maxHeight)),l&&!u&&(u=bd(l/2)),(void 0!==e||void 0!==n)&&r&&c.height&&u>c.height&&(u=c.height,l=bd(Math.floor(u*r))),{width:l,height:u}}(t,e,n,r)}isAttached(t){const e=t&&dd(t);return!(!e||!e.isConnected)}}class Xp{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return Lh(this.x)&&Lh(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const r={};return t.forEach(t=>{r[t]=n[t]&&n[t].active()?n[t]._to:this[t]}),r}}function Zp(t,e,n,r,i){const o=eh(r,0),a=Math.min(eh(i,t.length),t.length);let s,c,l,u=0;for(n=Math.ceil(n),i&&(s=i-r,n=s/Math.floor(s/n)),l=o;l<0;)u++,l=Math.round(o+u*n);for(c=Math.max(o,0);c<a;c++)c===l&&(e.push(t[c]),u++,l=Math.round(o+u*n))}const Jp=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n,Qp=(t,e)=>Math.min(e||t,t);function tm(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function em(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,a=t._endPixel,s=1e-6;let c,l=t.getPixelForTick(i);if(!(n&&(c=1===r?Math.max(l-o,a-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(i-1))/2,l+=i<e?c:-c,l<o-s||l>a+s)))return l}function nm(t){return t.drawTicks?t.tickLength:0}function rm(t,e){if(!t.display)return 0;const n=qf(t.font,e),r=Vf(t.padding);return(Zu(t.text)?t.text.length:1)*n.lineHeight+r.height}function im(t,e,n){let r=Xh(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=(t=>"left"===t?"right":"right"===t?"left":t)(r)),r}class om extends Xp{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:r}=this;return t=th(t,Number.POSITIVE_INFINITY),e=th(e,Number.NEGATIVE_INFINITY),n=th(n,Number.POSITIVE_INFINITY),r=th(r,Number.NEGATIVE_INFINITY),{min:th(t,n),max:th(e,r),minDefined:Qu(t),maxDefined:Qu(e)}}getMinMax(t){let e,{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds();if(i&&o)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let s=0,c=a.length;s<c;++s)e=a[s].controller.getMinMax(this,t),i||(n=Math.min(n,e.min)),o||(r=Math.max(r,e.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:th(n,th(r,n)),max:th(r,th(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}
2getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){rh(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:r,grace:i,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,n){const{min:r,max:i}=t,o=nh(e,(i-r)/2),a=(t,e)=>n&&0===t?0:t+e;return{min:a(r,-Math.abs(o)),max:a(i,o)}}(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?tm(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=function(t,e){const n=t.options.ticks,r=function(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}(t),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?function(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}(e):[],a=o.length,s=o[0],c=o[a-1],l=[];if(a>i)return function(t,e,n,r){let i,o=0,a=n[0];for(r=Math.ceil(r),i=0;i<t.length;i++)i===a&&(e.push(t[i]),o++,a=n[o*r])}(e,l,o,a/i),l;const u=function(t,e,n){const r=function(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}(t),i=e.length/n;if(!r)return Math.max(i,1);const o=function(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(0|n)&&e.push(n),e.sort((t,e)=>t-e).pop(),e}(r);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];
vendor: 16,949 bytes, line 2
2if(e>i)return e}return Math.max(i,1)}(o,e,i);if(a>0){let t,n;const r=a>1?Math.round((c-s)/(a-1)):null;for(Zp(e,l,u,Xu(r)?0:s-r,s),t=0,n=a-1;t<n;t++)Zp(e,l,u,o[t],o[t+1]);return Zp(e,l,u,c,Xu(r)?e.length:c+r),l}return Zp(e,l,u),l}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){rh(this.options.afterUpdate,[this])}beforeSetDimensions(){rh(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){rh(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),rh(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){rh(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,r,i;for(n=0,r=t.length;n<r;n++)i=t[n],i.label=rh(e.callback,[i.value,n,t],this)}afterTickToLabelConversion(){rh(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){rh(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=Qp(this.ticks.length,t.ticks.maxTicksLimit),r=e.minRotation||0,i=e.maxRotation;let o,a,s,c=r;if(!this._isVisible()||!e.display||r>=i||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const l=this._getLabelSizes(),u=l.widest.width,h=l.highest.height,f=zh(this.chart.width-u,0,this.maxWidth);o=t.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(t.offset?.5:1)),a=this.maxHeight-nm(t.grid)-e.padding-rm(t.title,this.chart.options.font),s=Math.sqrt(u*u+h*h),c=jh(Math.min(Math.asin(zh((l.highest.height+6)/o,-1,1)),Math.asin(zh(a/s,-1,1))-Math.asin(zh(h/s,-1,1)))),c=Math.max(r,Math.min(i,c))),this.labelRotation=c}afterCalculateLabelRotation(){rh(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){rh(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:r,grid:i}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=rm(r,e.options.font);if(a?(t.width=this.maxWidth,t.height=nm(i)+o):(t.height=this.maxHeight,t.width=nm(i)+o),n.display&&this.ticks.length){const{first:e,last:r,widest:i,highest:o}=this._getLabelSizes(),s=2*n.padding,c=Mh(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(a){const e=n.mirror?0:u*i.width+l*o.height;t.height=Math.min(this.maxHeight,t.height+e+s)}else{const e=n.mirror?0:l*i.width+u*o.height;t.width=Math.min(this.maxWidth,t.width+e+s)}this._calculatePadding(e,r,u,l)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,r){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;s?c?(u=r*t.width,h=n*e.height):(u=n*t.height,h=r*e.width):"start"===i?h=e.width:"end"===i?u=t.width:"inner"!==i&&(u=t.width/2,h=e.width/2),this.paddingLeft=Math.max((u-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((h-l+o)*this.width/(this.width-l),0)}else{let n=e.height/2,r=t.height/2;"start"===i?(n=0,r=t.height):"end"===i&&(n=e.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){rh(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)Xu(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=tm(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,e,n){const{ctx:r,_longestTextCache:i}=this,o=[],a=[],s=Math.floor(e/Qp(e,n));let c,l,u,h,f,d,p,m,g,v,y,b=0,_=0;for(c=0;c<e;c+=s){if(h=t[c].label,f=this._resolveTickFontOptions(c),r.font=d=f.string,p=i[d]=i[d]||{data:{},gc:[]},m=f.lineHeight,g=v=0,Xu(h)||Zu(h)){if(Zu(h))for(l=0,u=h.length;l<u;++l)y=h[l],Xu(y)||Zu(y)||(g=_f(r,p.data,p.gc,g,y),v+=m)}else g=_f(r,p.data,p.gc,g,h),v=m;o.push(g),a.push(v),b=Math.max(g,b),_=Math.max(v,_)}!function(t,e){ih(t,t=>{const n=t.gc,r=n.length/2;let i;if(r>e){for(i=0;i<r;++i)delete t.data[n[i]];n.splice(0,r)}})}(i,e);const x=o.indexOf(b),w=a.indexOf(_),S=t=>({width:o[t]||0,height:a[t]||0});return{first:S(0),last:S(e-1),widest:S(x),highest:S(w),widths:o,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return zh(this._alignToPixels?wf(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=function(t,e,n){return Uf(t,{tick:n,index:e,type:"tick"})}(this.getContext(),t,n))}return this.$context||(this.$context=Uf(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=Mh(this.labelRotation),n=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),i=this._getLabelSizes(),o=t.autoSkipPadding||0,a=i?i.widest.width+o:0,s=i?i.highest.height+o:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,r=this.options,{grid:i,position:o,border:a}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+(s?1:0),u=nm(i),h=[],f=a.setContext(this.getContext()),d=f.display?f.width:0,p=d/2,m=function(t){return wf(n,t,d)};let g,v,y,b,_,x,w,S,E,k,C,O;if("top"===o)g=m(this.bottom),x=this.bottom-u,S=g-p,k=m(t.top)+p,O=t.bottom;else if("bottom"===o)g=m(this.top),k=t.top,O=m(t.bottom)-p,x=g+p,S=this.top+u;else if("left"===o)g=m(this.right),_=this.right-u,w=g-p,E=m(t.left)+p,C=t.right;else if("right"===o)g=m(this.left),E=t.left,C=m(t.right)-p,_=g+p,w=this.left+u;else if("x"===e){if("center"===o)g=m((t.top+t.bottom)/2+.5);else if(Ju(o)){const t=Object.keys(o)[0],e=o[t];g=m(this.chart.scales[t].getPixelForValue(e))}k=t.top,O=t.bottom,x=g+p,S=x+u}else if("y"===e){if("center"===o)g=m((t.left+t.right)/2);else if(Ju(o)){const t=Object.keys(o)[0],e=o[t];g=m(this.chart.scales[t].getPixelForValue(e))}_=g-p,w=_-u,E=t.left,C=t.right}const A=eh(r.ticks.maxTicksLimit,l),T=Math.max(1,Math.ceil(l/A));for(v=0;v<l;v+=T){const t=this.getContext(v),e=i.setContext(t),r=a.setContext(t),o=e.lineWidth,l=e.color,u=r.dash||[],f=r.dashOffset,d=e.tickWidth,p=e.tickColor,m=e.tickBorderDash||[],g=e.tickBorderDashOffset;y=em(this,v,s),void 0!==y&&(b=wf(n,y,o),c?_=w=E=C=b:x=S=k=O=b,h.push({tx1:_,ty1:x,tx2:w,ty2:S,x1:E,y1:k,x2:C,y2:O,width:o,color:l,borderDash:u,borderDashOffset:f,tickWidth:d,tickColor:p,tickBorderDash:m,tickBorderDashOffset:g}))}return this._ticksLength=l,this._borderValue=g,h}_computeLabelItems(t){const e=this.axis,n=this.options,{position:r,ticks:i}=n,o=this.isHorizontal(),a=this.ticks,{align:s,crossAlign:c,padding:l,mirror:u}=i,h=nm(n.grid),f=h+l,d=u?-l:f,p=-Mh(this.labelRotation),m=[];let g,v,y,b,_,x,w,S,E,k,C,O,A="middle";if("top"===r)x=this.bottom-d,w=this._getXAxisLabelAlignment();else if("bottom"===r)x=this.top+d,w=this._getXAxisLabelAlignment();else if("left"===r){const t=this._getYAxisLabelAlignment(h);w=t.textAlign,_=t.x}else if("right"===r){const t=this._getYAxisLabelAlignment(h);w=t.textAlign,_=t.x}else if("x"===e){if("center"===r)x=(t.top+t.bottom)/2+f;else if(Ju(r)){const t=Object.keys(r)[0],e=r[t];x=this.chart.scales[t].getPixelForValue(e)+f}w=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===r)_=(t.left+t.right)/2-f;else if(Ju(r)){const t=Object.keys(r)[0],e=r[t];_=this.chart.scales[t].getPixelForValue(e)}w=this._getYAxisLabelAlignment(h).textAlign}"y"===e&&("start"===s?A="top":"end"===s&&(A="bottom"));const T=this._getLabelSizes();for(g=0,v=a.length;g<v;++g){y=a[g],b=y.label;const t=i.setContext(this.getContext(g));S=this.getPixelForTick(g)+i.labelOffset,E=this._resolveTickFontOptions(g),k=E.lineHeight,C=Zu(b)?b.length:1;const e=C/2,n=t.color,s=t.textStrokeColor,l=t.textStrokeWidth;let h,f=w;if(o?(_=S,"inner"===w&&(f=g===v-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),O="top"===r?"near"===c||0!==p?-C*k+k/2:"center"===c?-T.highest.height/2-e*k+k:-T.highest.height+k/2:"near"===c||0!==p?k/2:"center"===c?T.highest.height/2-e*k:T.highest.height-C*k,u&&(O*=-1),0===p||t.showLabelBackdrop||(_+=k/2*Math.sin(p))):(x=S,O=(1-C)*k/2),t.showLabelBackdrop){const e=Vf(t.backdropPadding),n=T.heights[g],r=T.widths[g];let i=O-e.top,o=0-e.left;switch(A){case"middle":i-=n/2;break;case"bottom":i-=n}switch(w){case"center":o-=r/2;break;case"right":o-=r;break;case"inner":g===v-1?o-=r:g>0&&(o-=r/2)}h={left:o,top:i,width:r+e.width,height:n+e.height,color:t.backdropColor}}m.push({label:b,font:E,textOffset:O,options:{rotation:p,color:n,strokeColor:s,strokeWidth:l,textAlign:f,textBaseline:A,translation:[_,x],backdrop:h}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Mh(this.labelRotation))return"top"===t?"left":"right";let n="center";return"start"===e.align?n="left":"end"===e.align?n="right":"inner"===e.align&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=t+i,a=this._getLabelSizes().widest.width;let s,c;return"left"===e?r?(c=this.right+i,"near"===n?s="left":"center"===n?(s="center",c+=a/2):(s="right",c+=a)):(c=this.right-o,"near"===n?s="right":"center"===n?(s="center",c-=a/2):(s="left",c=this.left)):"right"===e?r?(c=this.left+i,"near"===n?s="right":"center"===n?(s="center",c-=a/2):(s="left",c-=a)):(c=this.left+o,"near"===n?s="left":"center"===n?(s="center",c+=a/2):(s="right",c=this.right)):s="right",{textAlign:s,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:r,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex(e=>e.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const a=(t,e,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(i=0,o=r.length;i<o;++i){const t=r[i];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:n,grid:r}}=this,i=n.setContext(this.getContext()),o=n.display?i.width:0;if(!o)return;const a=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let c,l,u,h;this.isHorizontal()?(c=wf(t,this.left,o)-o/2,l=wf(t,this.right,a)+a/2,u=h=s):(u=wf(t,this.top,o)-o/2,h=wf(t,this.bottom,a)+a/2,c=l=s),e.save(),e.lineWidth=i.width,e.strokeStyle=i.color,e.beginPath(),e.moveTo(c,u),e.lineTo(l,h),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,n=this._computeLabelArea();n&&Of(e,n);const r=this.getLabelItems(t);for(const t of r){const n=t.options,r=t.font;jf(e,t.label,0,t.textOffset,r,n)}n&&Af(e)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:r}}=this;if(!n.display)return;const i=qf(n.font),o=Vf(n.padding),a=n.align;let s=i.lineHeight/2;"bottom"===e||"center"===e||Ju(e)?(s+=o.bottom,Zu(n.text)&&(s+=i.lineHeight*(n.text.length-1))):s+=o.top;const{titleX:c,titleY:l,maxWidth:u,rotation:h}=function(t,e,n,r){const{top:i,left:o,bottom:a,right:s,chart:c}=t,{chartArea:l,scales:u}=c;let h,f,d,p=0;const m=a-i,g=s-o;if(t.isHorizontal()){if(f=Zh(r,o,s),Ju(n)){const t=Object.keys(n)[0],r=n[t];d=u[t].getPixelForValue(r)+m-e}else d="center"===n?(l.bottom+l.top)/2+m-e:Jp(t,n,e);h=s-o}else{if(Ju(n)){const t=Object.keys(n)[0],r=n[t];f=u[t].getPixelForValue(r)-g+e}else f="center"===n?(l.left+l.right)/2-g+e:Jp(t,n,e);d=Zh(r,a,i),p="left"===n?-Sh:Sh}return{titleX:f,titleY:d,maxWidth:h,rotation:p}}(this,s,e,a);jf(t,n.text,0,0,i,{color:n.color,maxWidth:u,rotation:h,textAlign:im(a,e,r),textBaseline:"middle",translation:[c,l]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=eh(t.grid&&t.grid.z,-1),r=eh(t.border&&t.border.z,0);return this._isVisible()&&this.draw===om.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=e.length;i<o;++i){const o=e[i];o[n]!==this.id||t&&o.type!==t||r.push(o)}return r}_resolveTickFontOptions(t){return qf(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class am{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;(function(t){return"id"in t&&"defaults"in t})(e)&&(n=this.register(e));const r=this.items,i=t.id,o=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in r||(r[i]=t,function(t,e,n){const r=lh(Object.create(null),[n?bf.get(n):{},bf.get(e),t.defaults]);bf.set(e,r),t.defaultRoutes&&function(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),i=r.pop(),o=[t].concat(r).join("."),a=e[n].split("."),s=a.pop(),c=a.join(".");bf.route(o,i,c,s)})}(e,t.defaultRoutes),t.descriptors&&bf.describe(e,t.descriptors)}(t,o,n),this.override&&bf.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,r=this.scope;n in e&&delete e[n],r&&n in bf[r]&&(delete bf[r][n],this.override&&delete pf[n])}}class sm{constructor(){this.controllers=new am(tp,"datasets",!0),this.elements=new am(Xp,"elements"),this.plugins=new am(Object,"plugins"),this.scales=new am(om,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}
2removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach(e=>{const r=n||this._getRegistryForType(e);n||r.isForType(e)||r===this.plugins&&e.id?this._exec(t,r,e):ih(e,e=>{const r=n||this._getRegistryForType(e);this._exec(t,r,e)})})}_exec(t,e,n){const r=ph(t);rh(n["before"+r],[],n),e[t](n),rh(n["after"+r],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+n+".");return r}}var cm=new sm;class lm{constructor(){this._init=[]}notify(t,e,n,r){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const i=r?this._descriptors(t).filter(r):this._descriptors(t),o=this._notify(i,t,e,n);return"afterDestroy"===e&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,n,r){r=r||{};for(const i of t){const t=i.plugin;if(!1===rh(t[n],[e,r,i.options],t)&&r.cancelable)return!1}return!0}invalidate(){Xu(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,r=eh(n.options&&n.options.plugins,{}),i=function(t){const e={},n=[],r=Object.keys(cm.plugins.items);for(let t=0;t<r.length;t++)n.push(cm.getPlugin(r[t]));const i=t.plugins||[];for(let t=0;t<i.length;t++){const r=i[t];-1===n.indexOf(r)&&(n.push(r),e[r.id]=!0)}return{plugins:n,localIds:e}}(n);return!1!==r||e?function(t,{plugins:e,localIds:n},r,i){const o=[],a=t.getContext();for(const s of e){const e=s.id,c=um(r[e],i);null!==c&&o.push({plugin:s,options:hm(t.config,{plugin:s,local:n[e]},c,a)})}return o}(t,i,r,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,r=(t,e)=>t.filter(t=>!e.some(e=>t.plugin.id===e.plugin.id));this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}function um(t,e){return e||!1!==t?!0===t?{}:t:null}function hm(t,{plugin:e,local:n},r,i){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(r,o);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function fm(t,e){const n=bf.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function dm(t){if("x"===t||"y"===t||"r"===t)return t}function pm(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}function mm(t,...e){if(dm(t))return t;for(const n of e){const e=n.axis||pm(n.position)||t.length>1&&dm(t[0].toLowerCase());if(e)return e}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function gm(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function vm(t){const e=t.options||(t.options={});e.plugins=eh(e.plugins,{}),e.scales=function(t,e){const n=pf[t.type]||{scales:{}},r=e.scales||{},i=fm(t.type,e),o=Object.create(null);return Object.keys(r).forEach(e=>{const a=r[e];if(!Ju(a))return console.error(`Invalid scale configuration for scale: ${e}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const s=mm(e,a,function(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(e=>e.xAxisID===t||e.yAxisID===t);if(n.length)return gm(t,"x",n[0])||gm(t,"y",n[0])}return{}}(e,t),bf.scales[a.type]),c=function(t,e){return t===e?"_index_":"_value_"}(s,i),l=n.scales||{};o[e]=uh(Object.create(null),[{axis:s},a,l[s],l[c]])}),t.data.datasets.forEach(n=>{const i=n.type||t.type,a=n.indexAxis||fm(i,e),s=(pf[i]||{}).scales||{};Object.keys(s).forEach(t=>{const e=function(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,a),i=n[e+"AxisID"]||e;o[i]=o[i]||Object.create(null),uh(o[i],[{axis:e},r[i],s[t]])})}),Object.keys(o).forEach(t=>{const e=o[t];uh(e,[bf.scales[e.type],bf.scale])}),o}(t,e)}function ym(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const bm=new Map,_m=new Set;function xm(t,e){let n=bm.get(t);return n||(n=e(),bm.set(t,n),_m.add(n)),n}const wm=(t,e,n)=>{const r=dh(e,n);void 0!==r&&t.add(r)};class Sm{constructor(t){this._config=function(t){return(t=t||{}).data=ym(t.data),vm(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ym(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),vm(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return xm(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return xm(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return xm(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id;return xm(`${this.type}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const n=this._scopeCache;let r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}getOptionScopes(t,e,n){const{options:r,type:i}=this,o=this._cachedScopes(t,n),a=o.get(e);if(a)return a;const s=new Set;
2e.forEach(e=>{t&&(s.add(t),e.forEach(e=>wm(s,t,e))),e.forEach(t=>wm(s,r,t)),e.forEach(t=>wm(s,pf[i]||{},t)),e.forEach(t=>wm(s,bf,t)),e.forEach(t=>wm(s,mf,t))});const c=Array.from(s);return 0===c.length&&c.push(Object.create(null)),_m.has(e)&&o.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,pf[e]||{},bf.datasets[e]||{},{type:e},bf,mf]}resolveNamedOptions(t,e,n,r=[""]){const i={$shared:!0},{resolver:o,subPrefixes:a}=Em(this._resolverCache,t,r);let s=o;(function(t,e){const{isScriptable:n,isIndexable:r}=Yf(t);for(const i of e){const e=n(i),o=r(i),a=(o||e)&&t[i];if(e&&(gh(a)||km(a))||o&&Zu(a))return!0}return!1})(o,e)&&(i.$shared=!1,s=$f(o,n=gh(n)?n():n,this.createResolver(t,n,a)));for(const t of e)i[t]=s[t];return i}createResolver(t,e,n=[""],r){const{resolver:i}=Em(this._resolverCache,t,n);return Ju(e)?$f(i,e,void 0,r):i}}function Em(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let o=r.get(i);return o||(o={resolver:Gf(e,n),subPrefixes:n.filter(t=>!t.toLowerCase().includes("hover"))},r.set(i,o)),o}const km=t=>Ju(t)&&Object.getOwnPropertyNames(t).some(e=>gh(t[e])),Cm=["top","bottom","left","right","chartArea"];function Om(t,e){return"top"===t||"bottom"===t||-1===Cm.indexOf(t)&&"x"===e}function Am(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Tm(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),rh(n&&n.onComplete,[t],e)}function Lm(t){const e=t.chart,n=e.options.animation;rh(n&&n.onProgress,[t],e)}function Pm(t){return fd()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Mm={},jm=t=>{const e=Pm(t);return Object.values(Mm).filter(t=>t.canvas===e).pop()};function Dm(t,e,n){const r=Object.keys(t);for(const i of r){const r=+i;if(r>=e){const o=t[i];delete t[i],(n>0||r>e)&&(t[r+n]=o)}}}class Im{static defaults=bf;static instances=Mm;static overrides=pf;static registry=cm;static version="4.5.0";static getChart=jm;static register(...t){cm.add(...t),Rm()}static unregister(...t){cm.remove(...t),Rm()}constructor(t,e){const n=this.config=new Sm(e),r=Pm(t),i=jm(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const o=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(t){return!fd()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Dp:Kp}(r)),this.platform.updateConfig(n);const a=this.platform.acquireContext(r,o.aspectRatio),s=a&&a.canvas,c=s&&s.height,l=s&&s.width;this.id=Ku(),this.ctx=a,this.canvas=s,this.width=l,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new lm,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}(t=>this.update(t),o.resizeDelay||0),this._dataChanges=[],Mm[this.id]=this,a&&s?(Fd.listen(this,"complete",Tm),Fd.listen(this,"progress",Lm),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:r,_aspectRatio:i}=this;return Xu(t)?e&&i?i:r?n/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return cm}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():_d(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Sf(this.canvas,this.ctx),this}stop(){return Fd.stop(this),this}resize(t,e){Fd.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(r,t,e,i),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,_d(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),rh(n.onResize,[this,o],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){ih(this.options.scales||{},(t,e)=>{t.id=e})}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,r=Object.keys(n).reduce((t,e)=>(t[e]=!1,t),{});let i=[];e&&(i=i.concat(Object.keys(e).map(t=>{const n=e[t],r=mm(t,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}}))),ih(i,e=>{const i=e.options,o=i.id,a=mm(o,i),s=eh(i.type,e.dtype);void 0!==i.position&&Om(i.position,a)===Om(e.dposition)||(i.position=e.dposition),r[o]=!0;let c=null;o in n&&n[o].type===s?c=n[o]:(c=new(cm.getScale(s))({id:o,type:s,ctx:this.ctx,
2chart:this}),n[c.id]=c),c.init(i,t)}),ih(r,(t,e)=>{t||delete n[e]}),ih(n,t=>{Mp.configure(this,t,t.options),Mp.addBox(this,t)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort((t,e)=>t.index-e.index),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort(Am("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach((t,n)=>{0===e.filter(e=>e===t._dataset).length&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=e.length;n<r;n++){const r=e[n];let i=this.getDatasetMeta(n);const o=r.type||this.config.type;if(i.type&&i.type!==o&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=o,i.indexAxis=r.indexAxis||fm(o,this.options),i.order=r.order||0,i.index=n,i.label=""+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{const e=cm.getController(o),{datasetElementType:r,dataElementType:a}=bf.datasets[o];Object.assign(e,{dataElementType:cm.getElement(a),datasetElementType:r&&cm.getElement(r)}),i.controller=new e(this,n),t.push(i.controller)}}return this._updateMetasets(),t}_resetElements(){ih(this.data.datasets,(t,e)=>{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),n=!r&&-1===i.indexOf(e);e.buildOrUpdateElements(n),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),r||ih(i,t=>{t.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Am("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ih(this.scales,t=>{Mp.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);vh(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of e)Dm(t,r,"_removeElements"===n?-i:i)}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter(t=>t[0]===e).map((t,e)=>e+","+t.splice(1).join(","))),r=n(0);for(let t=1;t<e;t++)if(!vh(r,n(t)))return;return Array.from(r).map(t=>t.split(",")).map(t=>({method:t[1],start:+t[2],count:+t[3]}))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Mp.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],ih(this.boxes,t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))},this),this._layers.forEach((t,e)=>{t._idx=e}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,gh(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),r={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Fd.has(this)?this.attached&&!Fd.running(this)&&Fd.start(this):(this.draw(),Tm({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(t,e)}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let r,i;for(r=0,i=e.length;r<i;++r){const i=e[r];t&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n={meta:t,index:t.index,cancelable:!0},r=Rd(this,t);!1!==this.notifyPlugins("beforeDatasetDraw",n)&&(r&&Of(e,r),t.controller.draw(),r&&Af(e),n.cancelable=!1,this.notifyPlugins("afterDatasetDraw",n))}isPointInArea(t){return Cf(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,r){const i=_p.modes[e];return"function"==typeof i?i(this,t,n,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let r=n.filter(t=>t&&t._dataset===e).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=Uf(null,{chart:this,type:"chart"}))}
vendor: 39,703 bytes, line 2
2getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"==typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const r=n?"show":"hide",i=this.getDatasetMeta(t),o=i.controller._resolveAnimations(void 0,r);mh(e)?(i.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(i,{visible:n}),this.update(e=>e.datasetIndex===t?r:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),Fd.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Sf(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),delete Mm[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};ih(this.options.events,t=>n(t,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(n,r)=>{t[n]&&(e.removeEventListener(this,n,r),delete t[n])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){ih(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},ih(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const r=n?"set":"remove";let i,o,a,s;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=t.length;a<s;++a){o=t[a];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map(({datasetIndex:t,index:e})=>{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}});!oh(n,e)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}isPluginEnabled(t){return 1===this._plugins._cache.filter(e=>e.plugin.id===t).length}_updateHoverStyles(t,e,n){const r=this.options.hover,i=(t,e)=>t.filter(t=>!e.some(e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)),o=i(e,t),a=n?t:i(t,e);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:r=[],options:i}=this,o=e,a=this._getActiveElements(t,r,n,o),s=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),c=function(t,e,n,r){return n&&"mouseout"!==t.type?r?e:t:null}(t,this._lastEvent,n,s);n&&(this._lastEvent=null,rh(i.onHover,[t,a,this],this),s&&rh(i.onClick,[t,a,this],this));const l=!oh(a,r);return(l||e)&&(this._active=a,this._updateHoverStyles(a,r,e)),this._lastEvent=c,l}_getActiveElements(t,e,n,r){if("mouseout"===t.type)return[];if(!n)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}function Rm(){return ih(Im.instances,t=>t._plugins.invalidate())}function Nm(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function Fm(t,e,n,r,i,o){const{x:a,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=e,h=Math.max(e.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0;let d=0;const p=i-c;if(r){const t=((u>0?u-r:0)+(h>0?h-r:0))/2;d=(p-(0!==t?p*t/(t+r):p))/2}const m=(p-Math.max(.001,p*h-n/yh)/h)/2,g=c+m+d,v=i-m-d,{outerStart:y,outerEnd:b,innerStart:_,innerEnd:x}=function(t,e,n,r){const i=Bf(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(n-e)/2,a=Math.min(o,r*e/2),s=t=>{const e=(n-Math.min(o,t))*r/2;return zh(t,0,Math.min(o,e))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:zh(i.innerStart,0,a),innerEnd:zh(i.innerEnd,0,a)}}(e,f,h,v-g),w=h-y,S=h-b,E=g+y/w,k=v-b/S,C=f+_,O=f+x,A=g+_/C,T=v-x/O;if(t.beginPath(),o){const e=(E+k)/2;if(t.arc(a,s,h,E,e),t.arc(a,s,h,e,k),b>0){const e=Nm(S,k,a,s);t.arc(e.x,e.y,b,k,v+Sh)}const n=Nm(O,v,a,s);if(t.lineTo(n.x,n.y),x>0){const e=Nm(O,T,a,s);t.arc(e.x,e.y,x,v+Sh,T+Math.PI)}const r=(v-x/f+(g+_/f))/2;if(t.arc(a,s,f,v-x/f,r,!0),t.arc(a,s,f,r,g+_/f,!0),_>0){const e=Nm(C,A,a,s);t.arc(e.x,e.y,_,A+Math.PI,g-Sh)}const i=Nm(w,g,a,s);if(t.lineTo(i.x,i.y),y>0){const e=Nm(w,E,a,s);t.arc(e.x,e.y,y,g-Sh,E)}}else{t.moveTo(a,s);const e=Math.cos(E)*h+a,n=Math.sin(E)*h+s;t.lineTo(e,n);const r=Math.cos(k)*h+a,i=Math.sin(k)*h+s;t.lineTo(r,i)}t.closePath()}function Bm(t,e,n=e){t.lineCap=eh(n.borderCapStyle,e.borderCapStyle),t.setLineDash(eh(n.borderDash,e.borderDash)),t.lineDashOffset=eh(n.borderDashOffset,e.borderDashOffset),t.lineJoin=eh(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=eh(n.borderWidth,e.borderWidth),t.strokeStyle=eh(n.borderColor,e.borderColor)}function zm(t,e,n){t.lineTo(n.x,n.y)}function Hm(t,e,n={}){const r=t.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=e,c=Math.max(i,a),l=Math.min(o,s),u=i<a&&o<a||i>s&&o>s;return{count:r,start:c,loop:e.loop,ilen:l<c&&!u?r+l-c:l-c}}function Vm(t,e,n,r){const{points:i,options:o}=e,{count:a,start:s,loop:c,ilen:l}=Hm(i,n,r),u=function(t){return t.stepped?Tf:t.tension||"monotone"===t.cubicInterpolationMode?Lf:zm}(o);let h,f,d,{move:p=!0,reverse:m}=r||{};for(h=0;h<=l;++h)f=i[(s+(m?l-h:h))%a],f.skip||(p?(t.moveTo(f.x,f.y),p=!1):u(t,d,f,m,o.stepped),d=f);return c&&(f=i[(s+(m?l:0))%a],u(t,d,f,m,o.stepped)),!!c}function qm(t,e,n,r){const i=e.points,{count:o,start:a,ilen:s}=Hm(i,n,r),{move:c=!0,reverse:l}=r||{};let u,h,f,d,p,m,g=0,v=0;const y=t=>(a+(l?s-t:t))%o,b=()=>{d!==p&&(t.lineTo(g,p),t.lineTo(g,d),t.lineTo(g,m))};for(c&&(h=i[y(0)],t.moveTo(h.x,h.y)),u=0;u<=s;++u){if(h=i[y(u)],h.skip)continue;const e=h.x,n=h.y,r=0|e;r===f?(n<d?d=n:n>p&&(p=n),g=(v*g+e)/++v):(b(),t.lineTo(e,n),f=r,v=0,d=p=n),m=n}b()}function Wm(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||n?Vm:qm}const Um="function"==typeof Path2D;class Gm extends Xp{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;hd(this._points,n,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:a,end:s}=function(t,e,n,r){let i=0,o=e-1;if(n&&!r)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,n&&(o+=i);o>i&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}(n,i,o,r);return function(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){const i=t._chart.getContext(),o=jd(t.options),{_datasetIndex:a,options:{spanGaps:s}}=t,c=n.length,l=[];let u=o,h=e[0].start,f=h;function d(t,e,r,i){const o=s?-1:1;if(t!==e){for(t+=c;n[t%c].skip;)t-=o;for(;n[e%c].skip;)e+=o;t%c!==e%c&&(l.push({start:t%c,end:e%c,loop:r,style:i}),u=i,h=e%c)}}for(const t of e){h=s?h:t.start;let e,o=n[h%c];for(f=h+1;f<=t.end;f++){const s=n[f%c];e=jd(r.setContext(Uf(i,{type:"segment",p0:o,p1:s,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),Dd(e,u)&&d(h,f-1,t.loop,u),o=s,u=e}h<f-1&&d(h,f-1,t.loop,u)}return l}(t,e,n,r):e}(t,!0===r?[{start:a,end:s,loop:o}]:function(t,e,n,r){const i=t.length,o=[];let a,s=e,c=t[e];for(a=e+1;a<=n;++a){const n=t[a%i];n.skip||n.stop?c.skip||(r=!1,o.push({start:e%i,end:(a-1)%i,loop:r}),e=s=n.stop?a:null):(s=a,c.skip&&(e=a)),c=n}return null!==s&&o.push({start:e%i,end:s%i,loop:r}),o}(n,a,s<a?s+i:s,!!t._fullLoop&&0===a&&s===i-1),n,e)}(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,r=t[e],i=this.points,o=Md(this,{property:e,start:r,end:r});if(!o.length)return;const a=[],s=function(t){return t.stepped?Ed:t.tension||"monotone"===t.cubicInterpolationMode?kd:Sd}(n);let c,l;for(c=0,l=o.length;c<l;++c){const{start:l,end:u}=o[c],h=i[l],f=i[u];if(h===f){a.push(h);continue}const d=s(h,f,Math.abs((r-h[e])/(f[e]-h[e])),n.stepped);d[e]=t[e],a.push(d)}return 1===a.length?a[0]:a}pathSegment(t,e,n){return Wm(this)(t,this,e,n)}path(t,e,n){const r=this.segments,i=Wm(this);let o=this._loop;e=e||0,n=n||this.points.length-e;for(const a of r)o&=i(t,this,a,{start:e,end:e+n-1});return!!o}draw(t,e,n,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),function(t,e,n,r){Um&&!e.options.segment?function(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),Bm(t,e.options),t.stroke(i)}(t,e,n,r):function(t,e,n,r){const{segments:i,options:o}=e,a=Wm(e);for(const s of i)Bm(t,o,s.style),t.beginPath(),a(t,e,s,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}(t,e,n,r)}(t,this,n,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function $m(t,e,n,r){const i=t.options,{[n]:o}=t.getProps([n],r);return Math.abs(e-o)<i.radius+i.hitRadius}function Ym(t,e){const{x:n,y:r,base:i,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let s,c,l,u,h;return t.horizontal?(h=a/2,s=Math.min(n,i),c=Math.max(n,i),l=r-h,u=r+h):(h=o/2,s=n-h,c=n+h,l=Math.min(r,i),u=Math.max(r,i)),{left:s,top:l,right:c,bottom:u}}function Km(t,e,n,r){return t?0:zh(e,n,r)}function Xm(t,e,n,r){const i=null===e,o=null===n,a=t&&!(i&&o)&&Ym(t,r);return a&&(i||Hh(e,a.left,a.right))&&(o||Hh(n,a.top,a.bottom))}function Zm(t,e){t.rect(e.x,e.y,e.w,e.h)}function Jm(t,e,n={}){const r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+a,radius:t.radius}}var Qm=Object.freeze({__proto__:null,ArcElement:class extends Xp{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.getProps(["x","y"],n),{angle:i,distance:o}=Ih(r,{x:t,y:e}),{startAngle:a,endAngle:s,innerRadius:c,outerRadius:l,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),h=(this.options.spacing+this.options.borderWidth)/2,f=eh(u,s-a),d=Bh(i,a,s)&&a!==s,p=f>=bh||d,m=Hh(o,c+h,l+h);return p&&m}getCenterPoint(t){const{x:e,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(o+a+c+s)/2;return{x:e+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,r=(e.offset||0)/4,i=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>bh?Math.floor(n/bh):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*r,Math.sin(a)*r);const s=r*(1-Math.sin(Math.min(yh,n||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,n,r,i){const{fullCircles:o,startAngle:a,circumference:s}=e;let c=e.endAngle;if(o){Fm(t,e,n,r,c,i);for(let e=0;e<o;++e)t.fill();isNaN(s)||(c=a+(s%bh||bh))}Fm(t,e,n,r,c,i),t.fill()}(t,this,s,i,o),function(t,e,n,r,i){const{fullCircles:o,startAngle:a,circumference:s,options:c}=e,{borderWidth:l,borderJoinStyle:u,borderDash:h,borderDashOffset:f,borderRadius:d}=c,p="inner"===c.borderAlign;if(!l)return;t.setLineDash(h||[]),t.lineDashOffset=f,p?(t.lineWidth=2*l,t.lineJoin=u||"round"):(t.lineWidth=l,t.lineJoin=u||"bevel");let m=e.endAngle;if(o){Fm(t,e,n,r,m,i);for(let e=0;e<o;++e)t.stroke();isNaN(s)||(m=a+(s%bh||bh))}p&&function(t,e,n){const{startAngle:r,pixelMargin:i,x:o,y:a,outerRadius:s,innerRadius:c}=e;let l=i/s;t.beginPath(),t.arc(o,a,s,r-l,n+l),c>i?(l=i/c,t.arc(o,a,c,n+l,r-l,!0)):t.arc(o,a,i,n+Sh,r-Sh),t.closePath(),t.clip()}(t,e,m),c.selfJoin&&m-a>=yh&&0===d&&"miter"!==u&&function(t,e,n){const{startAngle:r,x:i,y:o,outerRadius:a,innerRadius:s,options:c}=e,{borderWidth:l,borderJoinStyle:u}=c,h=Math.min(l/a,Fh(r-n));if(t.beginPath(),t.arc(i,o,a-l/2,r+h/2,n-h/2),s>0){const e=Math.min(l/s,Fh(r-n));t.arc(i,o,s+l/2,n-e/2,r+e/2,!0)}else{const e=Math.min(l/2,a*Fh(r-n));if("round"===u)t.arc(i,o,e,n-yh/2,r+yh/2,!0);else if("bevel"===u){const a=2*e*e,s=-a*Math.cos(n+yh/2)+i,c=-a*Math.sin(n+yh/2)+o,l=a*Math.cos(r+yh/2)+i,u=a*Math.sin(r+yh/2)+o;t.lineTo(s,c),t.lineTo(l,u)}}t.closePath(),t.moveTo(0,0),t.rect(0,0,t.canvas.width,t.canvas.height),t.clip("evenodd")}(t,e,m),o||(Fm(t,e,n,r,m,i),t.stroke())}(t,this,s,i,o),t.restore()}},BarElement:class extends Xp{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:r}}=this,{inner:i,outer:o}=function(t){const e=Ym(t),n=e.right-e.left,r=e.bottom-e.top,i=function(t,e,n){const r=t.options.borderWidth,i=t.borderSkipped,o=zf(r);return{t:Km(i.top,o.top,0,n),r:Km(i.right,o.right,0,e),b:Km(i.bottom,o.bottom,0,n),l:Km(i.left,o.left,0,e)}}(t,n/2,r/2),o=function(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,o=Hf(i),a=Math.min(e,n),s=t.borderSkipped,c=r||Ju(i);return{topLeft:Km(!c||s.top||s.left,o.topLeft,0,a),topRight:Km(!c||s.top||s.right,o.topRight,0,a),bottomLeft:Km(!c||s.bottom||s.left,o.bottomLeft,0,a),bottomRight:Km(!c||s.bottom||s.right,o.bottomRight,0,a)}}(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:o},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}(this),a=(s=o.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?Df:Zm;var s;t.save(),o.w===i.w&&o.h===i.h||(t.beginPath(),a(t,Jm(o,e,i)),t.clip(),a(t,Jm(i,-e,o)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),a(t,Jm(i,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,n){return Xm(this,t,e,n)}inXRange(t,e){return Xm(this,t,null,e)}inYRange(t,e){return Xm(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(e+r)/2:e,y:i?n:(n+r)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}},LineElement:Gm,PointElement:class extends Xp{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(t-i,2)+Math.pow(e-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return $m(this,t,"x",e)}inYRange(t,e){return $m(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){let e=(t=t||this.options||{}).radius||0;return e=Math.max(e,e&&t.hoverRadius||0),2*(e+(e&&t.borderWidth||0))}draw(t,e){const n=this.options;this.skip||n.radius<.1||!Cf(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,Ef(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}});const tg=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],eg=tg.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function ng(t){return tg[t%tg.length]}function rg(t){return eg[t%eg.length]}function ig(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var og={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,n){if(!n.enabled)return;const{data:{datasets:r},options:i}=t.config,{elements:o}=i,a=ig(r)||(s=i)&&(s.borderColor||s.backgroundColor)||o&&ig(o)||"rgba(0,0,0,0.1)"!==bf.borderColor||"rgba(0,0,0,0.1)"!==bf.backgroundColor;var s;if(!n.forceOverride&&a)return;const c=function(t){let e=0;return(n,r)=>{const i=t.getDatasetMeta(r).controller;i instanceof lp?e=function(t,e){return t.backgroundColor=t.data.map(()=>ng(e++)),e}(n,e):i instanceof up?e=function(t,e){return t.backgroundColor=t.data.map(()=>rg(e++)),e}(n,e):i&&(e=function(t,e){return t.borderColor=ng(e),t.backgroundColor=rg(e),++e}(n,e))}}(t);r.forEach(c)}};function ag(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function sg(t){t.data.datasets.forEach(t=>{ag(t)})}var cg={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,n)=>{if(!n.enabled)return void sg(t);const r=t.width;t.data.datasets.forEach((e,i)=>{const{_data:o,indexAxis:a}=e,s=t.getDatasetMeta(i),c=o||e.data;if("y"===Wf([a,t.options.indexAxis]))return;if(!s.controller.supportsDecimation)return;const l=t.scales[s.xAxisID];if("linear"!==l.type&&"time"!==l.type)return;if(t.options.parsing)return;let u,{start:h,count:f}=function(t,e){const n=e.length;let r,i=0;const{iScale:o}=t,{min:a,max:s,minDefined:c,maxDefined:l}=o.getUserBounds();return c&&(i=zh(qh(e,o.axis,a).lo,0,n-1)),r=l?zh(qh(e,o.axis,s).hi+1,i,n)-i:n-i,{start:i,count:r}}(s,c);if(f<=(n.threshold||4*r))ag(e);else{switch(Xu(o)&&(e._data=c,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),n.algorithm){case"lttb":u=function(t,e,n,r,i){const o=i.samples||r;if(o>=n)return t.slice(e,e+n);const a=[],s=(n-2)/(o-2);let c=0;const l=e+n-1;let u,h,f,d,p,m=e;for(a[c++]=t[m],u=0;u<o-2;u++){let r,i=0,o=0;const l=Math.floor((u+1)*s)+1+e,g=Math.min(Math.floor((u+2)*s)+1,n)+e,v=g-l;for(r=l;r<g;r++)i+=t[r].x,o+=t[r].y;i/=v,o/=v;const y=Math.floor(u*s)+1+e,b=Math.min(Math.floor((u+1)*s)+1,n)+e,{x:_,y:x}=t[m];for(f=d=-1,r=y;r<b;r++)d=.5*Math.abs((_-i)*(t[r].y-x)-(_-t[r].x)*(o-x)),d>f&&(f=d,h=t[r],p=r);a[c++]=h,m=p}return a[c++]=t[l],a}(c,h,f,r,n);break;case"min-max":u=function(t,e,n,r){let i,o,a,s,c,l,u,h,f,d,p=0,m=0;const g=[],v=e+n-1,y=t[e].x,b=t[v].x-y;for(i=e;i<e+n;++i){o=t[i],a=(o.x-y)/b*r,s=o.y;const e=0|a;if(e===c)s<f?(f=s,l=i):s>d&&(d=s,u=i),p=(m*p+o.x)/++m;else{const n=i-1;if(!Xu(l)&&!Xu(u)){const e=Math.min(l,u),r=Math.max(l,u);e!==h&&e!==n&&g.push({...t[e],x:p}),r!==h&&r!==n&&g.push({...t[r],x:p})}i>0&&n!==h&&g.push(t[n]),g.push(o),c=e,m=0,f=d=s,l=u=h=i}}return g}(c,h,f,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}e._decimated=u}})},destroy(t){sg(t)}};function lg(t,e,n,r){if(r)return;let i=e[t],o=n[t];return"angle"===t&&(i=Fh(i),o=Fh(o)),{property:t,start:i,end:o}}function ug(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function hg(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function fg(t,e){let n=[],r=!1;return Zu(t)?(r=!0,n=t):n=function(t,e){const{x:n=null,y:r=null}=t||{},i=e.points,o=[];return e.segments.forEach(({start:t,end:e})=>{e=ug(t,e,i);const a=i[t],s=i[e];null!==r?(o.push({x:a.x,y:r}),o.push({x:s.x,y:r})):null!==n&&(o.push({x:n,y:a.y}),o.push({x:n,y:s.y}))}),o}(t,e),n.length?new Gm({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function dg(t){return t&&!1!==t.fill}function pg(t,e,n){let r=t[e].fill;const i=[e];let o;if(!n)return r;for(;!1!==r&&-1===i.indexOf(r);){if(!Qu(r))return r;if(o=t[r],!o)return!1;if(o.visible)return r;i.push(r),r=o.fill}return!1}function mg(t,e,n){const r=function(t){const e=t.options,n=e.fill;let r=eh(n&&n.target,n);return void 0===r&&(r=!!e.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(t);if(Ju(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return Qu(i)&&Math.floor(i)===i?function(t,e,n,r){return"-"!==t&&"+"!==t||(n=e+n),!(n===e||n<0||n>=r)&&n}(r[0],e,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function gg(t,e,n){const r=[];for(let i=0;i<n.length;i++){const o=n[i],{first:a,last:s,point:c}=vg(o,e,"x");if(!(!c||a&&s))if(a)r.unshift(c);else if(t.push(c),!s)break}t.push(...r)}function vg(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const i=r[n],o=t.segments,a=t.points;let s=!1,c=!1;for(let t=0;t<o.length;t++){const e=o[t],r=a[e.start][n],l=a[e.end][n];if(Hh(i,r,l)){s=i===r,c=i===l;break}}return{first:s,last:c,point:r}}class yg{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,n){const{x:r,y:i,radius:o}=this;return e=e||{start:0,end:bh},t.arc(r,i,o,e.end,e.start,!0),!n.bounds}interpolate(t){const{x:e,y:n,radius:r}=this,i=t.angle;return{x:e+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}function bg(t,e,n){const r=function(t){const{chart:e,fill:n,line:r}=t;if(Qu(n))return function(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}(e,n);if("stack"===n)return function(t){const{scale:e,index:n,line:r}=t,i=[],o=r.segments,a=r.points,s=function(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let t=0;t<r.length;t++){const i=r[t];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}(e,n);s.push(fg({x:null,y:e.bottom},r));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)gg(i,a[t],s)}return new Gm({points:i,options:{}})}(t);if("shape"===n)return!0;const i=function(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:n}=t,r=e.options,i=e.getLabels().length,o=r.reverse?e.max:e.min,a=function(t,e,n){let r;return r="start"===t?n:"end"===t?e.options.reverse?e.min:e.max:Ju(t)?t.value:e.getBaseValue(),r}(n,e,o),s=[];if(r.grid.circular){const t=e.getPointPositionForValue(0,o);return new yg({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(a)})}for(let t=0;t<i;++t)s.push(e.getPointPositionForValue(t,a));return s}(t):function(t){const{scale:e={},fill:n}=t,r=function(t,e){let n=null;return"start"===t?n=e.bottom:"end"===t?n=e.top:Ju(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}(n,e);if(Qu(r)){const t=e.isHorizontal();return{x:t?r:null,y:t?null:r}}return null}(t)}(t);return i instanceof yg?i:fg(i,r)}(e),{chart:i,index:o,line:a,scale:s,axis:c}=e,l=a.options,u=l.fill,h=l.backgroundColor,{above:f=h,below:d=h}=u||{},p=i.getDatasetMeta(o),m=Rd(i,p);r&&a.points.length&&(Of(t,n),function(t,e){const{line:n,target:r,above:i,below:o,area:a,scale:s,clip:c}=e,l=n._loop?"angle":e.axis;t.save();let u=o;o!==i&&("x"===l?(_g(t,r,a.top),wg(t,{line:n,target:r,color:i,scale:s,property:l,clip:c}),t.restore(),t.save(),_g(t,r,a.bottom)):"y"===l&&(xg(t,r,a.left),wg(t,{line:n,target:r,color:o,scale:s,property:l,clip:c}),t.restore(),t.save(),xg(t,r,a.right),u=i)),wg(t,{line:n,target:r,color:u,scale:s,property:l,clip:c}),t.restore()}(t,{line:a,target:r,above:f,below:d,area:n,scale:s,axis:c,clip:m}),Af(t))}function _g(t,e,n){const{segments:r,points:i}=e;let o=!0,a=!1;t.beginPath();for(const s of r){const{start:r,end:c}=s,l=i[r],u=i[ug(r,c,i)];o?(t.moveTo(l.x,l.y),o=!1):(t.lineTo(l.x,n),t.lineTo(l.x,l.y)),a=!!e.pathSegment(t,s,{move:a}),a?t.closePath():t.lineTo(u.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function xg(t,e,n){const{segments:r,points:i}=e;let o=!0,a=!1;t.beginPath();for(const s of r){const{start:r,end:c}=s,l=i[r],u=i[ug(r,c,i)];o?(t.moveTo(l.x,l.y),o=!1):(t.lineTo(n,l.y),t.lineTo(l.x,l.y)),a=!!e.pathSegment(t,s,{move:a}),a?t.closePath():t.lineTo(n,u.y)}t.lineTo(n,e.first().y),t.closePath(),t.clip()}function wg(t,e){const{line:n,target:r,property:i,color:o,scale:a,clip:s}=e,c=function(t,e,n){const r=t.segments,i=t.points,o=e.points,a=[];for(const t of r){let{start:r,end:s}=t;s=ug(r,s,i);const c=lg(n,i[r],i[s],t.loop);if(!e.segments){a.push({source:t,target:c,start:i[r],end:i[s]});continue}const l=Md(e,c);for(const e of l){const r=lg(n,o[e.start],o[e.end],e.loop),s=Pd(t,i,r);for(const t of s)a.push({source:t,target:e,start:{[n]:hg(c,r,"start",Math.max)},end:{[n]:hg(c,r,"end",Math.min)}})}}return a}(n,r,i);for(const{source:e,target:l,start:u,end:h}of c){const{style:{backgroundColor:c=o}={}}=e,f=!0!==r;t.save(),t.fillStyle=c,Sg(t,a,s,f&&lg(i,u,h)),t.beginPath();const d=!!n.pathSegment(t,e);let p;if(f){d?t.closePath():Eg(t,r,h,i);const e=!!r.pathSegment(t,l,{move:d,reverse:!0});p=d&&e,p||Eg(t,r,u,i)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function Sg(t,e,n,r){const i=e.chart.chartArea,{property:o,start:a,end:s}=r||{};if("x"===o||"y"===o){let e,r,c,l;"x"===o?(e=a,r=i.top,c=s,l=i.bottom):(e=i.left,r=a,c=i.right,l=s),t.beginPath(),n&&(e=Math.max(e,n.left),c=Math.min(c,n.right),r=Math.max(r,n.top),l=Math.min(l,n.bottom)),t.rect(e,r,c-e,l-r),t.clip()}}function Eg(t,e,n,r){const i=e.interpolate(n,r);i&&t.lineTo(i.x,i.y)}var kg={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,i=[];let o,a,s,c;for(a=0;a<r;++a)o=t.getDatasetMeta(a),s=o.dataset,c=null,s&&s.options&&s instanceof Gm&&(c={visible:t.isDatasetVisible(a),index:a,fill:mg(s,a,r),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=c,i.push(c);for(a=0;a<r;++a)c=i[a],c&&!1!==c.fill&&(c.fill=pg(i,a,n.propagate))},beforeDraw(t,e,n){const r="beforeDraw"===n.drawTime,i=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=i.length-1;e>=0;--e){const n=i[e].$filler;n&&(n.line.updateControlPoints(o,n.axis),r&&n.fill&&bg(t.ctx,n,o))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const r=t.getSortedVisibleDatasetMetas();for(let e=r.length-1;e>=0;--e){const n=r[e].$filler;dg(n)&&bg(t.ctx,n,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;dg(r)&&"beforeDatasetDraw"===n.drawTime&&bg(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Cg=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}};class Og extends Xp{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=rh(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(e=>t.filter(e,this.chart.data))),t.sort&&(e=e.sort((e,n)=>t.sort(e,n,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,r=qf(n.font),i=r.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=Cg(n,i);let c,l;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(o,i,a,s)+10):(l=this.maxHeight,c=this._fitCols(o,r,a,s)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(l,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+a;let u=t;i.textAlign="left",i.textBaseline="middle";let h=-1,f=-l;return this.legendItems.forEach((t,d)=>{const p=n+e/2+i.measureText(t.text).width;(0===d||c[c.length-1]+p+2*a>o)&&(u+=l,c[c.length-(d>0?0:1)]=0,f+=l,h++),s[d]={left:0,top:f,row:h,width:p,height:r},c[c.length-1]+=p+a}),u}_fitCols(t,e,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=o-t;let u=a,h=0,f=0,d=0,p=0;return this.legendItems.forEach((t,o)=>{const{itemWidth:m,itemHeight:g}=function(t,e,n,r,i){const o=function(t,e,n,r){let i=t.text;return i&&"string"!=typeof i&&(i=i.reduce((t,e)=>t.length>e.length?t:e)),e+n.size/2+r.measureText(i).width}(r,t,e,n),a=function(t,e,n){let r=t;return"string"!=typeof e.text&&(r=Ag(e,n)),r}(i,r,e.lineHeight);return{itemWidth:o,itemHeight:a}}(n,e,i,t,r);o>0&&f+g+2*a>l&&(u+=h+a,c.push({width:h,height:f}),d+=h+a,p++,h=f=0),s[o]={left:d,top:f,col:p,width:m,height:g},h=Math.max(h,m),f+=g+a}),u+=h,c.push({width:h,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:r},rtl:i}}=this,o=Cd(i,this.left,this.width);if(this.isHorizontal()){let i=0,a=Zh(n,this.left+r,this.right-this.lineWidths[i]);for(const s of e)i!==s.row&&(i=s.row,a=Zh(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+t+r,s.left=o.leftForLtr(o.x(a),s.width),a+=s.width+r}else{let i=0,a=Zh(n,this.top+t+r,this.bottom-this.columnSizes[i].height);for(const s of e)s.col!==i&&(i=s.col,a=Zh(n,this.top+t+r,this.bottom-this.columnSizes[i].height)),s.top=a,s.left+=this.left+r,s.left=o.leftForLtr(o.x(s.left),s.width),a+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Of(t,this),this._draw(),Af(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:r}=this,{align:i,labels:o}=t,a=bf.color,s=Cd(t.rtl,this.left,this.width),c=qf(o.font),{padding:l}=o,u=c.size,h=u/2;let f;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:d,boxHeight:p,itemHeight:m}=Cg(o,u),g=this.isHorizontal(),v=this._computeTitleHeight();f=g?{x:Zh(i,this.left+l,this.right-n[0]),y:this.top+l+v,line:0}:{x:this.left+l,y:Zh(i,this.top+v+l,this.bottom-e[0].height),line:0},Od(this.ctx,t.textDirection);const y=m+l;this.legendItems.forEach((b,_)=>{r.strokeStyle=b.fontColor,r.fillStyle=b.fontColor;const x=r.measureText(b.text).width,w=s.textAlign(b.textAlign||(b.textAlign=o.textAlign)),S=d+h+x;let E=f.x,k=f.y;if(s.setWidth(this.width),g?_>0&&E+S+l>this.right&&(k=f.y+=y,f.line++,E=f.x=Zh(i,this.left+l,this.right-n[f.line])):_>0&&k+y>this.bottom&&(E=f.x=E+e[f.line].width+l,f.line++,k=f.y=Zh(i,this.top+v+l,this.bottom-e[f.line].height)),function(t,e,n){if(isNaN(d)||d<=0||isNaN(p)||p<0)return;r.save();const i=eh(n.lineWidth,1);if(r.fillStyle=eh(n.fillStyle,a),r.lineCap=eh(n.lineCap,"butt"),r.lineDashOffset=eh(n.lineDashOffset,0),r.lineJoin=eh(n.lineJoin,"miter"),r.lineWidth=i,r.strokeStyle=eh(n.strokeStyle,a),r.setLineDash(eh(n.lineDash,[])),o.usePointStyle){const a={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(t,d/2);kf(r,a,c,e+h,o.pointStyleWidth&&d)}else{const o=e+Math.max((u-p)/2,0),a=s.leftForLtr(t,d),c=Hf(n.borderRadius);r.beginPath(),Object.values(c).some(t=>0!==t)?Df(r,{x:a,y:o,w:d,h:p,radius:c}):r.rect(a,o,d,p),r.fill(),0!==i&&r.stroke()}r.restore()}(s.x(E),k,b),E=((t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e)(w,E+d+h,g?E+S:this.right,t.rtl),function(t,e,n){jf(r,n.text,t,e+m/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(E),k,b),g)f.x+=S+l;else if("string"!=typeof b.text){const t=c.lineHeight;f.y+=Ag(b,t)+l}else f.y+=y}),Ad(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=qf(e.font),r=Vf(e.padding);if(!e.display)return;const i=Cd(t.rtl,this.left,this.width),o=this.ctx,a=e.position,s=n.size/2,c=r.top+s;let l,u=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),l=this.top+c,u=Zh(t.align,u,this.right-h);else{const e=this.columnSizes.reduce((t,e)=>Math.max(t,e.height),0);l=c+Zh(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const f=Zh(a,u,u+h);o.textAlign=i.textAlign(Xh(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=n.string,jf(o,e.text,f,l,n)}_computeTitleHeight(){const t=this.options.title,e=qf(t.font),n=Vf(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,r,i;if(Hh(t,this.left,this.right)&&Hh(e,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],Hh(t,r.left,r.left+r.width)&&Hh(e,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!function(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const r=this._hoveredItem,i=((t,e)=>null!==t&&null!==e&&t.datasetIndex===e.datasetIndex&&t.index===e.index)(r,n);r&&!i&&rh(e.onLeave,[t,r,this],this),this._hoveredItem=n,n&&!i&&rh(e.onHover,[t,n,this],this)}else n&&rh(e.onClick,[t,n,this],this)}}function Ag(t,e){return e*(t.text?t.text.length:0)}var Tg={id:"legend",_element:Og,start(t,e,n){const r=t.legend=new Og({ctx:t.ctx,options:n,chart:t});Mp.configure(t,r,n),Mp.addBox(t,r)},stop(t){Mp.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Mp.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o,useBorderRadius:a,borderRadius:s}}=t.legend.options;return t._getSortedDatasetMetas().map(t=>{const c=t.controller.getStyle(n?0:void 0),l=Vf(c.borderWidth);return{text:e[t.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:a&&(s||c.borderRadius),datasetIndex:t.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Lg extends Xp{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const r=Zu(n.text)?n.text.length:1;this._padding=Vf(n.padding);const i=r*qf(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:r,right:i,options:o}=this,a=o.align;let s,c,l,u=0;return this.isHorizontal()?(c=Zh(a,n,i),l=e+t,s=i-n):("left"===o.position?(c=n+t,l=Zh(a,r,e),u=-.5*yh):(c=i-t,l=Zh(a,e,r),u=.5*yh),s=r-e),{titleX:c,titleY:l,maxWidth:s,rotation:u}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=qf(e.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:o,maxWidth:a,rotation:s}=this._drawArgs(r);jf(t,e.text,0,0,n,{color:e.color,maxWidth:a,rotation:s,textAlign:Xh(e.align),textBaseline:"middle",translation:[i,o]})}}var Pg={id:"title",_element:Lg,start(t,e,n){!function(t,e){const n=new Lg({ctx:t.ctx,options:e,chart:t});Mp.configure(t,n,e),Mp.addBox(t,n),t.titleBlock=n}(t,n)},stop(t){const e=t.titleBlock;Mp.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Mp.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Mg=new WeakMap;var jg={id:"subtitle",start(t,e,n){const r=new Lg({ctx:t.ctx,options:n,chart:t});Mp.configure(t,r,n),Mp.addBox(t,r),Mg.set(t,r)},stop(t){Mp.removeBox(t,Mg.get(t)),Mg.delete(t)},beforeUpdate(t,e,n){const r=Mg.get(t);Mp.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Dg={average(t){if(!t.length)return!1;let e,n,r=new Set,i=0,o=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();r.add(t.x),i+=t.y,++o}}if(0===o||0===r.size)return!1;const a=[...r].reduce((t,e)=>t+e)/r.size;return{x:a,y:i/o}},nearest(t,e){if(!t.length)return!1;
2let n,r,i,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n<r;++n){const r=t[n].element;if(r&&r.hasValue()){const t=Rh(e,r.getCenterPoint());t<s&&(s=t,i=r)}}if(i){const t=i.tooltipPosition();o=t.x,a=t.y}return{x:o,y:a}}};function Ig(t,e){return e&&(Zu(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Rg(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Ng(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Fg(t,e){const n=t.chart.ctx,{body:r,footer:i,title:o}=t,{boxWidth:a,boxHeight:s}=e,c=qf(e.bodyFont),l=qf(e.titleFont),u=qf(e.footerFont),h=o.length,f=i.length,d=r.length,p=Vf(e.padding);let m=p.height,g=0,v=r.reduce((t,e)=>t+e.before.length+e.lines.length+e.after.length,0);v+=t.beforeBody.length+t.afterBody.length,h&&(m+=h*l.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),v&&(m+=d*(e.displayColors?Math.max(s,c.lineHeight):c.lineHeight)+(v-d)*c.lineHeight+(v-1)*e.bodySpacing),f&&(m+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let y=0;const b=function(t){g=Math.max(g,n.measureText(t).width+y)};return n.save(),n.font=l.string,ih(t.title,b),n.font=c.string,ih(t.beforeBody.concat(t.afterBody),b),y=e.displayColors?a+2+e.boxPadding:0,ih(r,t=>{ih(t.before,b),ih(t.lines,b),ih(t.after,b)}),y=0,n.font=u.string,ih(t.footer,b),n.restore(),g+=p.width,{width:g,height:m}}
vendor: 5,353 bytes, line 2
2function Bg(t,e,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:c}}=t;let l="center";return"center"===r?l=i<=(s+c)/2?"left":"right":i<=o/2?l="left":i>=a-o/2&&(l="right"),function(t,e,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;return"left"===t&&i+o+a>e.width||"right"===t&&i-o-a<0||void 0}(l,t,e,n)&&(l="center"),l}function zg(t,e,n){const r=n.yAlign||e.yAlign||function(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||Bg(t,e,n,r),yAlign:r}}function Hg(t,e,n,r){const{caretSize:i,caretPadding:o,cornerRadius:a}=t,{xAlign:s,yAlign:c}=n,l=i+o,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:d}=Hf(a);let p=function(t,e){let{x:n,width:r}=t;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,s);const m=function(t,e,n){let{y:r,height:i}=t;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}(e,c,l);return"center"===c?"left"===s?p+=l:"right"===s&&(p-=l):"left"===s?p-=Math.max(u,f)+i:"right"===s&&(p+=Math.max(h,d)+i),{x:zh(p,0,r.width-e.width),y:zh(m,0,r.height-e.height)}}function Vg(t,e,n){const r=Vf(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function qg(t){return Ig([],Rg(t))}function Wg(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Ug={beforeTitle:Yu,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:Yu,beforeBody:Yu,beforeLabel:Yu,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Xu(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:Yu,afterBody:Yu,beforeFooter:Yu,footer:Yu,afterFooter:Yu};function Gg(t,e,n,r){const i=t[e].call(n,r);return void 0===i?Ug[e].call(n,r):i}class $g extends Xp{static positioners=Dg;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,i=new Vd(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=Uf(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"}))}getTitle(t,e){const{callbacks:n}=e,r=Gg(n,"beforeTitle",this,t),i=Gg(n,"title",this,t),o=Gg(n,"afterTitle",this,t);let a=[];return a=Ig(a,Rg(r)),a=Ig(a,Rg(i)),a=Ig(a,Rg(o)),a}getBeforeBody(t,e){return qg(Gg(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:n}=e,r=[];return ih(t,t=>{const e={before:[],lines:[],after:[]},i=Wg(n,t);Ig(e.before,Rg(Gg(i,"beforeLabel",this,t))),Ig(e.lines,Gg(i,"label",this,t)),Ig(e.after,Rg(Gg(i,"afterLabel",this,t))),r.push(e)}),r}getAfterBody(t,e){return qg(Gg(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:n}=e,r=Gg(n,"beforeFooter",this,t),i=Gg(n,"footer",this,t),o=Gg(n,"afterFooter",this,t);let a=[];return a=Ig(a,Rg(r)),a=Ig(a,Rg(i)),a=Ig(a,Rg(o)),a}_createItems(t){const e=this._active,n=this.chart.data,r=[],i=[],o=[];let a,s,c=[];for(a=0,s=e.length;a<s;++a)c.push(Ng(this.chart,e[a]));return t.filter&&(c=c.filter((e,r,i)=>t.filter(e,r,i,n))),t.itemSort&&(c=c.sort((e,r)=>t.itemSort(e,r,n))),ih(c,e=>{const n=Wg(t.callbacks,e);r.push(Gg(n,"labelColor",this,e)),i.push(Gg(n,"labelPointStyle",this,e)),o.push(Gg(n,"labelTextColor",this,e))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=c,c}update(t,e){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const t=Dg[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const e=this._size=Fg(this,n),a=Object.assign({},t,e),s=zg(this.chart,n,a),c=Hg(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0}
vendor: 30,823 bytes, line 2
2);this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,r){const i=this.getCaretPosition(t,n,r);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,n){const{xAlign:r,yAlign:i}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=Hf(a),{x:h,y:f}=t,{width:d,height:p}=e;let m,g,v,y,b,_;return"center"===i?(b=f+p/2,"left"===r?(m=h,g=m-o,y=b+o,_=b-o):(m=h+d,g=m+o,y=b-o,_=b+o),v=m):(g="left"===r?h+Math.max(s,l)+o:"right"===r?h+d-Math.max(c,u)-o:this.caretX,"top"===i?(y=f,b=y-o,m=g-o,v=g+o):(y=f+p,b=y+o,m=g+o,v=g-o),_=y),{x1:m,x2:g,x3:v,y1:y,y2:b,y3:_}}drawTitle(t,e,n){const r=this.title,i=r.length;let o,a,s;if(i){const c=Cd(n.rtl,this.x,this.width);for(t.x=Vg(this,n.titleAlign,n),e.textAlign=c.textAlign(n.titleAlign),e.textBaseline="middle",o=qf(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=o.string,s=0;s<i;++s)e.fillText(r[s],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,s+1===i&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,e,n,r,i){const o=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:s,boxWidth:c}=i,l=qf(i.bodyFont),u=Vg(this,"left",i),h=r.x(u),f=s<l.lineHeight?(l.lineHeight-s)/2:0,d=e.y+f;if(i.usePointStyle){const e={radius:Math.min(c,s)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=r.leftForLtr(h,c)+c/2,l=d+s/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,Ef(t,e,n,l),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,Ef(t,e,n,l)}else{t.lineWidth=Ju(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=r.leftForLtr(h,c),n=r.leftForLtr(r.xPlus(h,1),c-2),a=Hf(o.borderRadius);Object.values(a).some(t=>0!==t)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,Df(t,{x:e,y:d,w:c,h:s,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Df(t,{x:n,y:d+1,w:c-2,h:s-2,radius:a}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(e,d,c,s),t.strokeRect(e,d,c,s),t.fillStyle=o.backgroundColor,t.fillRect(n,d+1,c-2,s-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:r}=this,{bodySpacing:i,bodyAlign:o,displayColors:a,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=qf(n.bodyFont);let h=u.lineHeight,f=0;const d=Cd(n.rtl,this.x,this.width),p=function(n){e.fillText(n,d.x(t.x+f),t.y+h/2),t.y+=h+i},m=d.textAlign(o);let g,v,y,b,_,x,w;for(e.textAlign=o,e.textBaseline="middle",e.font=u.string,t.x=Vg(this,m,n),e.fillStyle=n.bodyColor,ih(this.beforeBody,p),f=a&&"right"!==m?"center"===o?c/2+l:c+2+l:0,b=0,x=r.length;b<x;++b){for(g=r[b],v=this.labelTextColors[b],e.fillStyle=v,ih(g.before,p),y=g.lines,a&&y.length&&(this._drawColorBox(e,t,b,d,n),h=Math.max(u.lineHeight,s)),_=0,w=y.length;_<w;++_)p(y[_]),h=u.lineHeight;ih(g.after,p)}f=0,h=u.lineHeight,ih(this.afterBody,p),t.y-=i}drawFooter(t,e,n){const r=this.footer,i=r.length;let o,a;if(i){const s=Cd(n.rtl,this.x,this.width);for(t.x=Vg(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=s.textAlign(n.footerAlign),e.textBaseline="middle",o=qf(n.footerFont),e.fillStyle=n.footerColor,e.font=o.string,a=0;a<i;++a)e.fillText(r[a],s.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+n.footerSpacing}}drawBackground(t,e,n,r){const{xAlign:i,yAlign:o}=this,{x:a,y:s}=t,{width:c,height:l}=n,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:d}=Hf(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(a+u,s),"top"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+c-h,s),e.quadraticCurveTo(a+c,s,a+c,s+h),"center"===o&&"right"===i&&this.drawCaret(t,e,n,r),e.lineTo(a+c,s+l-d),e.quadraticCurveTo(a+c,s+l,a+c-d,s+l),"bottom"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+f,s+l),e.quadraticCurveTo(a,s+l,a,s+l-f),"center"===o&&"left"===i&&this.drawCaret(t,e,n,r),e.lineTo(a,s+u),e.quadraticCurveTo(a,s,a+u,s),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=Dg[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=Fg(this,t),a=Object.assign({},n,this._size),s=zg(e,t,a),c=Hg(t,a,s,e);r._to===c.x&&i._to===c.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=Vf(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(i,t,r,e),Od(t,e.textDirection),i.y+=o.top,this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),Ad(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,r=t.map(({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}}),i=!oh(n,r),o=this._positionChanged(r,e);(i||o)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],o=this._getActiveElements(t,i,e,n),a=this._positionChanged(o,t),s=e||!oh(o,i)||a;return s&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),s}_getActiveElements(t,e,n,r){const i=this.options;if("mouseout"===t.type)return[];if(!r)return e.filter(t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index));const o=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:r,options:i}=this,o=Dg[i.position].call(this,t,e);return!1!==o&&(n!==o.x||r!==o.y)}}var Yg={id:"tooltip",_element:$g,positioners:Dg,afterInit(t,e,n){n&&(t.tooltip=new $g({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Ug},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Kg=Object.freeze({__proto__:null,Colors:og,Decimation:cg,Filler:kg,Legend:Tg,SubTitle:jg,Title:Pg,Tooltip:Yg});function Xg(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}function Zg(t,e,{horizontal:n,minRotation:r}){const i=Mh(r),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}class Jg extends om{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return Xu(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this;const o=t=>r=e?r:t,a=t=>i=n?i:t;if(t){const t=Oh(r),e=Oh(i);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(r===i){let e=0===i?1:Math.abs(.05*i);a(i+e),t||o(r-e)}this.min=r,this.max=i}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=function(t,e){const n=[],{bounds:r,step:i,min:o,max:a,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:h}=t,f=i||1,d=l-1,{min:p,max:m}=e,g=!Xu(o),v=!Xu(a),y=!Xu(c),b=(m-p)/(u+1);let _,x,w,S,E=Th((m-p)/d/f)*f;if(E<1e-14&&!g&&!v)return[{value:p},{value:m}];S=Math.ceil(m/E)-Math.floor(p/E),S>d&&(E=Th(S*E/d/f)*f),Xu(s)||(_=Math.pow(10,s),E=Math.ceil(E*_)/_),"ticks"===r?(x=Math.floor(p/E)*E,w=Math.ceil(m/E)*E):(x=p,w=m),g&&v&&i&&function(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}((a-o)/i,E/1e3)?(S=Math.round(Math.min((a-o)/E,l)),E=(a-o)/S,x=o,w=a):y?(x=g?o:x,w=v?a:w,S=c-1,E=(w-x)/S):(S=(w-x)/E,S=Ah(S,Math.round(S),E/1e3)?Math.round(S):Math.ceil(S));const k=Math.max(Dh(E),Dh(x));_=Math.pow(10,Xu(s)?k:s),x=Math.round(x*_)/_,w=Math.round(w*_)/_;let C=0;for(g&&(h&&x!==o?(n.push({value:o}),x<o&&C++,Ah(Math.round((x+C*E)*_)/_,o,Zg(o,b,t))&&C++):x<o&&C++);C<S;++C){const t=Math.round((x+C*E)*_)/_;if(v&&t>a)break;n.push({value:t})}return v&&h&&w!==a?n.length&&Ah(n[n.length-1].value,a,Zg(a,b,t))?n[n.length-1].value=a:n.push({value:a}):v&&w!==a||n.push({value:w}),n}({maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&Ph(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const r=(n-e)/Math.max(t.length-1,1)/2;e-=r,n+=r}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return hf(t,this.chart.options.locale,this.options.ticks.format)}}class Qg extends Jg{static id="linear";static defaults={ticks:{callback:df.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Qu(t)?t:0,this.max=Qu(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=Mh(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,i.lineHeight/r))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const tv=t=>Math.floor(Ch(t)),ev=(t,e)=>Math.pow(10,tv(t)+e);function nv(t){return 1===t/Math.pow(10,tv(t))}function rv(t,e,n){const r=Math.pow(10,n),i=Math.floor(t/r);return Math.ceil(e/r)-i}class iv extends om{static id="logarithmic";static defaults={ticks:{callback:df.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=Jg.prototype.parse.apply(this,[t,e]);if(0!==n)return Qu(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Qu(t)?Math.max(0,t):null,this.max=Qu(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Qu(this._userMin)&&(this.min=t===ev(this.min,0)?ev(this.min,-1):ev(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,r=this.max;const i=e=>n=t?n:e,o=t=>r=e?r:t;n===r&&(n<=0?(i(1),o(10)):(i(ev(n,-1)),o(ev(r,1)))),n<=0&&i(ev(r,-1)),r<=0&&o(ev(n,1)),this.min=n,this.max=r}buildTicks(){const t=this.options,e=function(t,{min:e,max:n}){e=th(t.min,e);const r=[],i=tv(e);let o=function(t,e){let n=tv(e-t);for(;rv(t,e,n)>10;)n++;for(;rv(t,e,n)<10;)n--;return Math.min(n,tv(t))}(e,n),a=o<0?Math.pow(10,Math.abs(o)):1;const s=Math.pow(10,o),c=i>o?Math.pow(10,i):0,l=Math.round((e-c)*a)/a,u=Math.floor((e-c)/s/10)*s*10;let h=Math.floor((l-u)/Math.pow(10,o)),f=th(t.min,Math.round((c+u+h*Math.pow(10,o))*a)/a);for(;f<n;)r.push({value:f,major:nv(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(o++,h=2,a=o>=0?1:a),f=Math.round((c+u+h*Math.pow(10,o))*a)/a;const d=th(t.max,f);return r.push({value:d,major:nv(d),significand:h}),r}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&Ph(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":hf(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Ch(t),this._valueRange=Ch(this.max)-Ch(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Ch(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function ov(t){const e=t.ticks;if(e.display&&t.display){const t=Vf(e.backdropPadding);return eh(e.font&&e.font.size,bf.font.size)+t.height}return 0}function av(t,e,n){return n=Zu(n)?n:[n],{w:xf(t,e.string,n),h:n.length*e.lineHeight}}function sv(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:t<r||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function cv(t,e,n,r,i){const o=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let s=0,c=0;r.start<e.l?(s=(e.l-r.start)/o,t.l=Math.min(t.l,e.l-s)):r.end>e.r&&(s=(r.end-e.r)/o,t.r=Math.max(t.r,e.r+s)),i.start<e.t?(c=(e.t-i.start)/a,t.t=Math.min(t.t,e.t-c)):i.end>e.b&&(c=(i.end-e.b)/a,t.b=Math.max(t.b,e.b+c))}function lv(t,e,n){const r=t.drawingArea,{extra:i,additionalAngle:o,padding:a,size:s}=n,c=t.getPointPosition(e,r+i+a,o),l=Math.round(jh(Fh(c.angle+Sh))),u=function(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}(c.y,s.h,l),h=function(t){return 0===t||180===t?"center":t<180?"left":"right"}(l),f=(d=c.x,p=s.w,"right"===(m=h)?d-=p:"center"===m&&(d-=p/2),d);var d,p,m;return{visible:!0,x:c.x,y:u,textAlign:h,left:f,top:u,right:f+s.w,bottom:u+s.h}}function uv(t,e){if(!e)return!0;const{left:n,top:r,right:i,bottom:o}=t;return!(Cf({x:n,y:r},e)||Cf({x:n,y:o},e)||Cf({x:i,y:r},e)||Cf({x:i,y:o},e))}function hv(t,e,n){const{left:r,top:i,right:o,bottom:a}=n,{backdropColor:s}=e;if(!Xu(s)){const n=Hf(e.borderRadius),c=Vf(e.backdropPadding);t.fillStyle=s;const l=r-c.left,u=i-c.top,h=o-r+c.width,f=a-i+c.height;Object.values(n).some(t=>0!==t)?(t.beginPath(),Df(t,{x:l,y:u,w:h,h:f,radius:n}),t.fill()):t.fillRect(l,u,h,f)}}function fv(t,e,n,r){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,bh);else{let n=t.getPointPosition(0,e);i.moveTo(n.x,n.y);for(let o=1;o<r;o++)n=t.getPointPosition(o,e),i.lineTo(n.x,n.y)}}class dv extends Jg{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:df.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Vf(ov(this.options)/2),e=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(e,n)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=Qu(t)&&!isNaN(t)?t:0,this.max=Qu(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/ov(this.options))}generateTickLabels(t){Jg.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((t,e)=>{const n=rh(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""}).filter((t,e)=>this.chart.getDataVisibility(e))}fit(){const t=this.options;t.display&&t.pointLabels.display?function(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],i=[],o=t._pointLabels.length,a=t.options.pointLabels,s=a.centerPointLabels?yh/o:0;for(let c=0;c<o;c++){const o=a.setContext(t.getPointLabelContext(c));i[c]=o.padding;const l=t.getPointPosition(c,t.drawingArea+i[c],s),u=qf(o.font),h=av(t.ctx,u,t._pointLabels[c]);r[c]=h;const f=Fh(t.getIndexAngle(c)+s),d=Math.round(jh(f));cv(n,e,f,sv(d,l.x,h.w,0,180),sv(d,l.y,h.h,90,270))}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=function(t,e,n){const r=[],i=t._pointLabels.length,o=t.options,{centerPointLabels:a,display:s}=o.pointLabels,c={extra:ov(o)/2,additionalAngle:a?yh/i:0};let l;for(let o=0;o<i;o++){c.padding=n[o],c.size=e[o];const i=lv(t,o,c);r.push(i),"auto"===s&&(i.visible=uv(i,l),i.visible&&(l=i))}return r}(t,r,i)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,r))}getIndexAngle(t){return Fh(t*(bh/(this._pointLabels.length||1))+Mh(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(Xu(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(Xu(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const n=e[t];return function(t,e,n){return Uf(t,{label:n,index:e,type:"pointLabel"})}(this.getContext(),t,n)}}getPointPosition(t,e,n=0){const r=this.getIndexAngle(t)-Sh+n;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:r,bottom:i}=this._pointLabelItems[t];return{left:e,top:n,right:r,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),fv(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:r,border:i}=e,o=this._pointLabels.length;let a,s,c;if(e.pointLabels.display&&function(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let i=e-1;i>=0;i--){const e=t._pointLabelItems[i];if(!e.visible)continue;const o=r.setContext(t.getPointLabelContext(i));hv(n,o,e);const a=qf(o.font),{x:s,y:c,textAlign:l}=e;jf(n,t._pointLabels[i],s,c+a.lineHeight/2,a,{color:o.color,textAlign:l,textBaseline:"middle"})}}(this,o),r.display&&this.ticks.forEach((t,e)=>{if(0!==e||0===e&&this.min<0){s=this.getDistanceFromCenterForValue(t.value);const n=this.getContext(e),a=r.setContext(n),c=i.setContext(n);!function(t,e,n,r,i){const o=t.ctx,a=e.circular,{color:s,lineWidth:c}=e;!a&&!r||!s||!c||n<0||(o.save(),o.strokeStyle=s,o.lineWidth=c,o.setLineDash(i.dash||[]),o.lineDashOffset=i.dashOffset,o.beginPath(),fv(t,n,a,r),o.closePath(),o.stroke(),o.restore())}(this,a,s,o,c)}}),n.display){for(t.save(),a=o-1;a>=0;a--){const r=n.setContext(this.getPointLabelContext(a)),{color:i,lineWidth:o}=r;o&&i&&(t.lineWidth=o,t.strokeStyle=i,t.setLineDash(r.borderDash),t.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(e.reverse?this.min:this.max),c=this.getPointPosition(a,s),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const r=this.getIndexAngle(0);let i,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((r,a)=>{if(0===a&&this.min>=0&&!e.reverse)return;const s=n.setContext(this.getContext(a)),c=qf(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[a].value),s.showLabelBackdrop){t.font=c.string,o=t.measureText(r.label).width,t.fillStyle=s.backdropColor;const e=Vf(s.backdropPadding);t.fillRect(-o/2-e.left,-i-c.size/2-e.top,o+e.width,c.size+e.height)}jf(t,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),t.restore()}drawTitle(){}}const pv={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},mv=Object.keys(pv);function gv(t,e){return t-e}function vv(t,e){if(Xu(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof r&&(a=r(a)),Qu(a)||(a="string"==typeof r?n.parse(a,r):n.parse(a)),null===a?null:(i&&(a="week"!==i||!Lh(o)&&!0!==o?n.startOf(a,i):n.startOf(a,"isoWeek",o)),+a)}function yv(t,e,n,r){const i=mv.length;for(let o=mv.indexOf(t);o<i-1;++o){const t=pv[mv[o]],i=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(i*t.size))<=r)return mv[o]}return mv[i-1]}function bv(t,e,n){if(n){if(n.length){const{lo:r,hi:i}=Vh(n,e);t[n[r]>=e?n[r]:n[i]]=!0}}else t[e]=!0}function _v(t,e,n){const r=[],i={},o=e.length;let a,s;for(a=0;a<o;++a)s=e[a],i[s]=a,r.push({value:s,major:!1});return 0!==o&&n?function(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),a=e[e.length-1].value;let s,c;for(s=o;s<=a;s=+i.add(s,1,r))c=n[s],c>=0&&(e[c].major=!0);return e}(t,r,i,n):r}class xv extends om{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const n=t.time||(t.time={}),r=this._adapter=new pp(t.adapters.date);r.init(e),uh(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:vv(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:r,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();function s(t){o||isNaN(t.min)||(r=Math.min(r,t.min)),a||isNaN(t.max)||(i=Math.max(i,t.max))}o&&a||(s(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||s(this.getMinMax(!1))),r=Qu(r)&&!isNaN(r)?r:+e.startOf(Date.now(),n),i=Qu(i)&&!isNaN(i)?i:+e.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,o=function(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}(r,i,this.max);return this._unit=e.unit||(n.autoSkip?yv(e.minUnit,this.min,this.max,this._getLabelCapacity(i)):function(t,e,n,r,i){for(let o=mv.length-1;o>=mv.indexOf(n);o--){const n=mv[o];if(pv[n].common&&t._adapter.diff(i,r,n)>=e-1)return n}return mv[n?mv.indexOf(n):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(let e=mv.indexOf(t)+1,n=mv.length;e<n;++e)if(pv[mv[e]].common)return mv[e]}(this._unit):void 0,this.initOffsets(r),t.reverse&&o.reverse(),_v(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let e,n,r=0,i=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),r=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),i=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;r=zh(r,0,o),i=zh(i,0,o),this._offsets={start:r,end:i,factor:1/(r+1+i)}}_generate(){const t=this._adapter,e=this.min,n=this.max,r=this.options,i=r.time,o=i.unit||yv(i.minUnit,e,n,this._getLabelCapacity(e)),a=eh(r.ticks.stepSize,1),s="week"===o&&i.isoWeekday,c=Lh(s)||!0===s,l={};let u,h,f=e;if(c&&(f=+t.startOf(f,"isoWeek",s)),f=+t.startOf(f,c?"day":o),t.diff(n,e,o)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+o);const d="data"===r.ticks.source&&this.getDataTimestamps();for(u=f,h=0;u<n;u=+t.add(u,a,o),h++)bv(l,u,d);return u!==n&&"ticks"!==r.bounds&&1!==h||bv(l,u,d),Object.keys(l).sort(gv).map(t=>+t)}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,r=this._unit,i=e||n[r];return this._adapter.format(t,i)}_tickFormatFunction(t,e,n,r){const i=this.options,o=i.ticks.callback;if(o)return rh(o,[t,e,n],this);const a=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&a[s],u=c&&a[c],h=n[e],f=c&&u&&h&&h.major;return this._adapter.format(t,r||(f?u:l))}generateTickLabels(t){let e,n,r;for(e=0,n=t.length;e<n;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,r=Mh(this.isHorizontal()?e.maxRotation:e.minRotation),i=Math.cos(r),o=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:n*i+a*o,h:n*o+a*i}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,r=n[e.unit]||n.millisecond,i=this._tickFormatFunction(t,0,_v(this,[t],this._majorUnit),r),o=this._getLabelSize(i),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t<e;++t)n=n.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const r=this.getLabels();for(e=0,n=r.length;e<n;++e)t.push(vv(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return $h(t.sort(gv))}}function wv(t,e,n){let r,i,o,a,s=0,c=t.length-1;n?(e>=t[s].pos&&e<=t[c].pos&&({lo:s,hi:c}=qh(t,"pos",e)),({pos:r,time:o}=t[s]),({pos:i,time:a}=t[c])):(e>=t[s].time&&e<=t[c].time&&({lo:s,hi:c}=qh(t,"time",e)),({time:r,pos:o}=t[s]),({time:i,pos:a}=t[c]));const l=i-r;return l?o+(a-o)*(e-r)/l:o}var Sv=Object.freeze({__proto__:null,CategoryScale:class extends om{static id="category";static defaults={ticks:{callback:Xg}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:r}of e)t[n]===r&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(Xu(t))return null;const n=this.getLabels();return((t,e)=>null===t?null:zh(Math.round(t),0,e))(e=isFinite(e)&&n[e]===t?e:function(t,e,n,r){const i=t.indexOf(e);return-1===i?((t,e,n,r)=>("string"==typeof e?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n))(t,e,n,r):i!==t.lastIndexOf(e)?n:i}(n,t,eh(e,t),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=t;n<=e;n++)r.push({value:n});return r}getLabelForValue(t){return Xg.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:Qg,LogarithmicScale:iv,RadialLinearScale:dv,TimeScale:xv,TimeSeriesScale:class extends xv{static id="timeseries";static defaults=xv.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=wv(e,this.min),this._tableRange=wv(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,r=[],i=[];let o,a,s,c,l;
2for(o=0,a=t.length;o<a;++o)c=t[o],c>=e&&c<=n&&r.push(c);if(r.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(o=0,a=r.length;o<a;++o)l=r[o+1],s=r[o-1],c=r[o],Math.round((l+s)/2)!==c&&i.push({time:c,pos:o/(a-1)});return i}_generate(){const t=this.min,e=this.max;let n=super.getDataTimestamps();return n.includes(t)&&n.length||n.splice(0,0,t),n.includes(e)&&1!==n.length||n.push(e),n.sort((t,e)=>t-e)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return t=e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,t=this._cache.all=t,t}getDecimalForValue(t){return(wv(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return wv(this._table,n*this._tableRange+this._minPos,!0)}}});const Ev=[hp,Qm,Kg,Sv];Im.register(...Ev);const kv=Im;function Cv(t){return Cv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cv(t)}function Ov(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Av(r.key),r)}}function Av(t){var e=function(t){if("object"!=Cv(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Cv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Cv(e)?e:e+""}var Tv=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.getPeople=e.getPeople||1,this.getHomeYearSelect=e.getHomeYearSelect,this.getnewToiletsSelect=e.getnewToiletsSelect,this.getAverageShower=e.getAverageShower,this.getNumberOfBathsPerWeek=e.getNumberOfBathsPerWeek,this.getLoadsofLaundry=e.getLoadsofLaundry,this.getHighEfficiencyLaundrySelect=e.getHighEfficiencyLaundrySelect,this.getGrassSquareFeet=e.getGrassSquareFeet||0,this.getOverseedSelect=e.getOverseedSelect,this.getRockSquareFeet=e.getRockSquareFeet||0,this.getPlantTypeSelect=e.getPlantTypeSelect,this.getPlantDensitySelect=e.getPlantDensitySelect,this.getPoolSelect=e.getPoolSelect,this.getPoolSquareFeet=e.getPoolSquareFeet||0,this.getDishwasherLoadsPerWeek=e.getDishwasherLoadsPerWeek||0,this.finalToiletGallons=0,this.finalShowerGallons=0,this.finalBathGallons=0,this.finalTeethBrushingGallons=0,this.finalLaundryGallons=0,this.finalDishwasherGallons=0,this.finalCookingAndCleaningGallons=0,this.finalDrinkingWaterGallons=0,this.finalTotalIndoorGallons=0,this.VDTSparse=[.045,.045,.0675,.1125,.135,.1575,.135,.135,.1125,.09,.045,.0225],this.VDTMedium=[.12,.12,.18,.3,.36,.42,.36,.36,.3,.24,.12,.06],this.VDTDense=[.21,.21,.315,.525,.63,.735,.63,.63,.525,.42,.21,.105],this.DASparse=[.09,.09,.135,.225,.27,.315,.27,.27,.225,.18,.09,.045],this.DAMedium=[.24,.24,.36,.6,.72,.84,.72,.72,.6,.48,.24,.12],this.DADense=[.42,.42,.63,1.05,1.26,1.47,1.26,1.26,1.05,.84,.42,.21],this.HWUSparse=[.21,.21,.315,.525,.63,.735,.63,.63,.525,.42,.21,.105],this.HWUMedium=[.56,.56,.84,1.4,1.68,1.96,1.68,1.68,1.4,1.12,.56,.28],this.HWUDense=[.98,.98,1.47,2.45,2.94,3.43,2.94,2.94,2.45,1.96,.98,.49],this.OverseedYes=[1.1,1.5,2.4,3.5,4.3,4.7,4.5,3.9,3.3,3.3,1.6,1],this.OverseedNo=[.2,.4,1,2.5,4.3,4.7,4.5,3.9,2.3,1.1,.4,.1],this.Pool=[2,2,3,5,6,7,6,6,5,4,2,1],this.monthlyIndoorGallonsArray=[],this.finalLandscapingGallonsArray=[],this.finalGrassGallonsArray=[],this.finalPoolGallonsArray=[],this.monthlyOutdoorGallonsArray=[],this.totalMonthlyGallonsArray=[],this.annualIndoor=0,this.annualOutdoor=0,this.annualLandscaping=0,this.annualGrass=0,this.annualPool=0,this.annualTotal=0}return function(t,e,n){return e&&Ov(t.prototype,e),n&&Ov(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"calculateMonthlyGallons",value:function(){var t="Yes"===this.getHomeYearSelect||"Yes"===this.getnewToiletsSelect?1.6:3.5;this.finalToiletGallons=Math.round(5*this.getPeople*t*30),this.finalShowerGallons=Math.round(this.getPeople*this.getAverageShower*2.6*30),this.finalBathGallons=Math.round(this.getPeople*this.getNumberOfBathsPerWeek*4*20),this.finalTeethBrushingGallons=Math.round(1*this.getPeople*1.5*30);var e="Yes"===this.getHighEfficiencyLaundrySelect?15:45;this.finalLaundryGallons=Math.round(e*this.getLoadsofLaundry*4),this.finalDishwasherGallons=Math.round(15*this.getDishwasherL
2oadsPerWeek*4),this.finalCookingAndCleaningGallons=Math.round(10*this.getPeople*30),this.finalDrinkingWaterGallons=Math.round(2*this.getPeople*30),this.finalTotalIndoorGallons=this.finalToiletGallons+this.finalShowerGallons+this.finalBathGallons+this.finalTeethBrushingGallons+this.finalLaundryGallons+this.finalDishwasherGallons+this.finalCookingAndCleaningGallons+this.finalDrinkingWaterGallons}},{key:"getPlantMultiplierArray",value:function(){if("Very Drought Tolerant"===this.getPlantTypeSelect){if("Sparse"===this.getPlantDensitySelect)return this.VDTSparse;if("Medium"===this.getPlantDensitySelect)return this.VDTMedium;if("Dense"===this.getPlantDensitySelect)return this.VDTDense}if("Desert Adapted"===this.getPlantTypeSelect){if("Sparse"===this.getPlantDensitySelect)return this.DASparse;if("Medium"===this.getPlantDensitySelect)return this.DAMedium;if("Dense"===this.getPlantDensitySelect)return this.DADense}if("High Water Use"===this.getPlantTypeSelect){if("Sparse"===this.getPlantDensitySelect)return this.HWUSparse;if("Medium"===this.getPlantDensitySelect)return this.HWUMedium;if("Dense"===this.getPlantDensitySelect)return this.HWUDense}return Array(12).fill(0)}},{key:"calcIndoorGallons",value:function(){var t=this.finalTotalIndoorGallons;this.monthlyIndoorGallonsArray=Array(12).fill(t),this.annualIndoor=12*t}},{key:"calcLandscapingGallons",value:function(){var t=this,e=this.getPlantMultiplierArray();this.finalLandscapingGallonsArray=e.map(function(e){return Math.round(e*t.getRockSquareFeet)}),this.annualLandscaping=this.finalLandscapingGallonsArray.reduce(function(t,e){return t+e},0)}},{key:"calcGrassGallons",value:function(){var t=this,e="Yes"===this.getOverseedSelect?this.OverseedYes:this.OverseedNo;this.finalGrassGallonsArray=e.map(function(e){return Math.round(e*t.getGrassSquareFeet)}),this.annualGrass=this.finalGrassGallonsArray.reduce(function(t,e){return t+e},0)}},{key:"calcPoolGallons",value:function(){var t=this;"Yes"===this.getPoolSelect?this.finalPoolGallonsArray=this.Pool.map(function(e){return Math.round(e*t.getPoolSquareFeet)}):this.finalPoolGallonsArray=Array(12).fill(0),this.annualPool=this.finalPoolGallonsArray.reduce(function(t,e){return t+e},0)}},{key:"calcMonthlyTotals",value:function(){var t=this;this.monthlyOutdoorGallonsArray=this.finalGrassGallonsArray.map(function(e,n){return e+t.finalLandscapingGallonsArray[n]+t.finalPoolGallonsArray[n]}),this.annualOutdoor=this.monthlyOutdoorGallonsArray.reduce(function(t,e){return t+e},0),this.totalMonthlyGallonsArray=this.monthlyIndoorGallonsArray.map(function(e,n){return e+t.monthlyOutdoorGallonsArray[n]}),this.annualTotal=this.totalMonthlyGallonsArray.reduce(function(t,e){return t+e},0)}},{key:"calculateAll",value:function(){return this.calculateMonthlyGallons(),this.calcIndoorGallons(),this.calcLandscapingGallons(),this.calcGrassGallons(),this.calcPoolGallons(),this.calcMonthlyTotals(),{monthlyIndoor:this.finalTotalIndoorGallons,indoor:this.monthlyIndoorGallonsArray,landscaping:this.finalLandscapingGallonsArray,grass:this.finalGrassGallonsArray,pool:this.finalPoolGallonsArray,monthlyOutdoor:this.monthlyOutdoorGallonsArray,total:this.totalMonthlyGallonsArray,annual:this.annualTotal,annualOutdoor:this.annualOutdoor,annualIndoor:this.annualIndoor,annualLandscaping:this.annualLandscaping,annualGrass:this.annualGrass,annualPool:this.annualPool,colors:this.colors,finalToiletGallons:this.finalToiletGallons,finalShowerGallons:this.finalShowerGallons,finalBathGallons:this.finalBathGallons,finalTeethBrushingGallons:this.finalTeethBrushingGallons,finalLaundryGallons:this.finalLaundryGallons,finalDishwasherGallons:this.finalDishwasherGallons,finalCookingAndCleaningGallons:this.finalCookingAndCleaningGallons,finalDrinkingWaterGallons:this.finalDrinkingWaterGallons}}}],[{key:"getOptionsFromForm",value:function(t){var e=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.get(e);return null===i?n?0:null:r?"on"===i||"true"===i||"1"===i:n?Number(i):i};return{getPeople:e("household_size",!0),getHomeYearSelect:e("home_year",!0),getnewToiletsSelect:e("new_toilets"),getAverageShower:e("average_shower_minutes",!0),getNumberOfBathsPerWeek:e("baths_per_week",!0),getLoadsofLaundry:e("lau
2ndry_loads_per_week",!0),getHighEfficiencyLaundrySelect:e("high_efficiency_washer",!1,!0),getGrassSquareFeet:e("grass_sqft",!0),getOverseedSelect:e("overseeded"),getRockSquareFeet:e("desert_landscape_sqft",!0),getPlantTypeSelect:e("plant_type"),getPlantDensitySelect:e("plant_density"),getPoolSelect:e("pool"),getPoolSquareFeet:e("pool_surface_sqft",!0),getDishwasherLoadsPerWeek:e("dishwasher_loads_per_week",!0)}}},{key:"numberWithCommas",value:function(t){return"number"!=typeof t?t:t.toLocaleString()}},{key:"fillMonthlyArrayElements",value:function(e,n){if(Array.isArray(n)){for(var r=0;r<n.length&&r<12;r++){var i=document.getElementById("".concat(e).concat(r));i&&(i.innerHTML=t.numberWithCommas(n[r]))}var o=n.reduce(function(t,e){return t+e},0),a=document.getElementById("".concat(e,"RowTotal"));a&&(a.innerHTML=t.numberWithCommas(o))}}},{key:"fillSingleValueElement",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=document.getElementById(e);i&&void 0!==n&&(r&&(n=Math.round(n)),i.innerHTML=t.numberWithCommas(n))}},{key:"fillAllElements",value:function(e){t.fillSingleValueElement("toilet0",e.finalToiletGallons),t.fillSingleValueElement("shower0",e.finalShowerGallons,!0),t.fillSingleValueElement("bath0",e.finalBathGallons),t.fillSingleValueElement("laundry0",e.finalLaundryGallons),t.fillSingleValueElement("dishwasher0",e.finalDishwasherGallons),t.fillSingleValueElement("teeth0",e.finalTeethBrushingGallons),t.fillSingleValueElement("cooking0",e.finalCookingAndCleaningGallons),t.fillSingleValueElement("drinking0",e.finalDrinkingWaterGallons),t.fillSingleValueElement("monthlyIndoorGallons0",e.monthlyIndoor),t.fillMonthlyArrayElements("monthlyIndoorGallonsTotal",e.indoor),t.fillMonthlyArrayElements("landscaping",e.landscaping),t.fillMonthlyArrayElements("grass",e.grass),t.fillMonthlyArrayElements("pool",e.pool),t.fillMonthlyArrayElements("monthlyOutdoorGallons",e.monthlyOutdoor),t.fillMonthlyArrayElements("totalMonthlyGallons",e.total),t.fillSingleValueElement("annualIndoorTotal",e.annualIndoor,!0),t.fillSingleValueElement("annualOutdoorTotal",e.annualOutdoor,!0),t.fillSingleValueElement("annualLandscapingTotal",e.annualLandscaping,!0),t.fillSingleValueElement("annualGrassTotal",e.annualGrass,!0),t.fillSingleValueElement("annualPoolTotal",e.annualPool,!0),t.fillSingleValueElement("annualTotal",e.annual,!0)}},{key:"generateBarChart",value:function(t,e){var n=document.getElementById("totalBarChart");if(n){n._waterChartInstance&&n._waterChartInstance.destroy();var r=Array(12).fill(0);e&&(r=e);var i=n.getContext("2d"),o=new kv(i,{type:"bar",data:{labels:["January","February","March","April","May","June","July","August","September","October","November","December"],datasets:[{type:"line",label:"Actual Gallons",borderColor:"#f68d2e",borderWidth:2,fill:!1,data:r},{type:"bar",label:"Estimated Gallons",backgroundColor:"#a4d65e",data:t,borderColor:"white",borderWidth:2}]},options:{events:[],maintainAspectRatio:!0,layout:{padding:{left:5,right:5,top:5,bottom:5}},scales:{x:{title:{display:!0,text:"Month"},time:{unit:"Gallons"},grid:{color:"rgba(0,0,0,0.1)",borderWidth:2},ticks:{maxTicksLimit:12},maxBarThickness:50},y:{beginAtZero:!0,title:{display:!0,text:"Gallons Used"},grid:{color:"#e0e0e0",borderDash:[5,5]},ticks:{stepSize:1e3,callback:function(t){return t+" gal"}}}},plugins:{legend:{display:!0,position:"bottom",onClick:null,onHover:null,labels:{color:"#000000"}},tooltip:{enabled:!1}}}});n._waterChartInstance=o}}},{key:"generatePieChart",value:function(t,e){var n="indoor"===e?document.getElementById("totalIndoorChart"):document.getElementById("totalOutdoorChart");if(n){n._waterChartInstance&&n._waterChartInstance.destroy();var r,i={labels:["Toilets","Showers","Baths","Washing Machine","Dishwasher","Brushing Teeth","Cooking and Cleaning","Drinking Water"],datasets:[{data:[t.finalToiletGallons,t.finalShowerGallons,t.finalBathGallons,t.finalLaundryGallons,t.finalDishwasherGallons,t.finalTeethBrushingGallons,t.finalCookingAndCleaningGallons,t.finalDrinkingWaterGallons],backgroundColor:["#91ca6f","#2ab0e4","#c940d2","#521958","#7861d3","#60c1bb","#a93514","#75f1e8"]}]},o={labels:["Grass","Landscaping","Pool","Indoor"],datasets:[{data:[t.annualGrass,t.annualLandscaping,t.annualPool,t.annualIndoor],backgroundColor:["#2c7b01","#e1b777","#75f1e8","#1b20b2"]}]};r="indoor"===e?i:o;var a=n.getContext("2d"),s=new kv(a,{type:"pie",data:r,options:{events:[],maintainAspectRatio:!0,layout:{padding:{left:5,right:5,top:5,bottom:5}}
2,plugins:{legend:{display:!0,position:"bottom",onClick:null,onHover:null,labels:{color:"#000000"}},tooltip:{enabled:!1}}}});n._waterChartInstance=s}}}])}();document.addEventListener("DOMContentLoaded",function(){var t="cmp-water-calculator--hidden",e=!1,n=document.getElementById("waterCalculator");if(n){var r=window.matchMedia("(prefers-reduced-motion: reduce)").matches,i=n.querySelector("#reset"),o=n.querySelector("#waterForm"),a=n.querySelector("#waterFormActual"),s=n.querySelector("#actualUsageCell"),c=n.querySelector(".cmp-water-calculator__results");o.addEventListener("submit",function(i){i.preventDefault();var u,h=new FormData(i.target),f=Tv.getOptionsFromForm(h),d=new Tv(f).calculateAll();Tv.fillAllElements(d),Tv.generateBarChart(d.total),e||(u=d.total,a.addEventListener("submit",function(t){t.preventDefault();var n=new FormData(t.target),r=Array.from(n.values()),i=0;r.forEach(function(t){i+=parseInt(t,10)}),s.innerHTML=Tv.numberWithCommas(i),Tv.generateBarChart(u,r),e=!0})),l(a),Tv.generatePieChart(d,"indoor"),Tv.generatePieChart(d,"outdoor"),o.classList.add(t),c.classList.remove(t),r?n.scrollIntoView({block:"start"}):n.scrollIntoView({behavior:"smooth",block:"start"})}),i.addEventListener("click",function(e){e.preventDefault(),l(o),l(a),o.classList.remove(t),c.classList.add(t),r?n.scrollIntoView({block:"start"}):n.scrollIntoView({behavior:"smooth",block:"start"})})}function l(t){Array.from(t.querySelectorAll('input:not([type="hidden"]), select, textarea')).forEach(function(t){t.matches('[type="checkbox"],[type="radio"]')?t.checked=!1:t.value=""})}});const Lv=".popover-header",Pv=".popover-body",Mv={...rn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},jv={...rn.DefaultType,content:"(null|string|element|function)"};class Dv extends rn{static get Default(){return Mv}static get DefaultType(){return jv}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Lv]:this._getTitle(),[Pv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=Dv.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}v(Dv);const Iv=Dv;function Rv(t){return Rv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rv(t)}function Nv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Fv(r.key),r)}}function Fv(t){var e=function(t){if("object"!=Rv(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Rv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Rv(e)?e:e+""}var Bv=function(){return function(t,e){return e&&Nv(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.safetyExitBtn=e,this.safeUrl=n,this.redirectUrl=r,this.popoverTriggerSelector=i,this.popoverInstance=null,this.setupListeners()},[{key:"safetyExit",value:function(){window.open(this.safeUrl,"_blank"),window.location.replace(this.redirectUrl)}},{key:"setupPopover",value:function(){var t=this,e=document.querySelector(this.popoverTriggerSelector);e&&(this.popoverInstance=new Iv(e,{customClass:"safety-exit-popover"}),document.body.addEventListener("click",function(e){e.target.matches(".popover-close")&&(t.popoverInstance.hide(),e.preventDefault())}))}},{key:"setupListeners",value:function(){var t=this;this.safetyExitBtn.addEventListener("click",function(){t.safetyExit()});var e=!1;document.addEventListener("keydown",function(n){"Escape"===n.key&&(e?(e=!1,t.safetyExit()):(e=!0,setTimeout(function(){e=!1},500)))}),this.setupPopover()}}])}();function zv(t){return zv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zv(t)}function Hv(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Vv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Wv(r.key),r)}}function qv(t,e,n){return e&&Vv(t.prototype,e),n&&Vv(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Wv(t){var e=function(t){if("object"!=zv(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=zv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==zv(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelector(".cmp-safety-exit__button");if(t){var e=t.getAttribute("data-safe-tab"),n=t.getAttribute("data-redirect");new Bv(t,e,n,"#safetyExitPopover")}});var Uv=qv(function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.internalNavComp=e;var r=document.createElement("div");r.style.height="1px",r.style.marginTop="-1px",this.internalNavComp.parentNode.insertBefore(r,this.internalNavComp),new IntersectionObserver(function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}
2finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Hv(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hv(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,1)[0];n.internalNavComp.classList.toggle("shadow-active",!e.isIntersecting)}).observe(r)});function Gv(t){return Gv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gv(t)}function $v(){var t=Qv(),e=t.m($v),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,Yv(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return($v=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new ey(t,e)},AsyncIterator:Jv,async:function(t,e,n,i,a){return(r(e)?Zv:Xv)(o(t),e,n,i,a)},keys:Kv,values:Yv}})()}function Yv(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(Gv(t)+" is not iterable")}function Kv(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function Xv(t,e,n,r,i){var o=Zv(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function Zv(t,e,n,r,i){return new Jv(Qv().w(t,e,n,r),i||Promise)}function Jv(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof ey?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(ty(Jv.prototype),ty(Jv.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),ty(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)})}return r=r?r.then(a,a):a()},!0)}function Qv(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return ty(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(ty(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,ty(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,ty(h,"constructor",l),ty(l,"constructor",c),c.displayName="GeneratorFunction",ty(l,i,"GeneratorFunction"),ty(h),ty(h,i,"Generator"),ty(h,r,function(){return this}),ty(h,"toString",function(){return"[object Generator]"}),(Qv=function(){return{w:o,m:f}})()}function ty(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}ty=function(t,e,n,r){function o(e,n){ty(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},ty(t,e,n,r)}function ey(t,e){this.v=t,this.k=e}function ny(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function ry(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,iy(r.key),r)}}function iy(t){var e=function(t){if("object"!=Gv(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Gv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Gv(e)?e:e+""}function oy(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".container--internal-nav");t.length&&t.forEach(function(t){new Uv(t)})}),n(778),n(3296),n(7208);var ay=new WeakSet,sy=function(){return function(t,e){return e&&ry(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,ay),this.COPY_LINK_TEXT="Copy Link",this.COPIED_LINK_TEXT="Copied",this.tocLinkEl=e,this.links=this.tocLinkEl.querySelectorAll("a"),oy(ay,this,cy).call(this),document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(function(t){return new rn(t)}),oy(ay,this,ly).call(this)},[{key:"render",value:function(t,e){var n='\n\t\t\t<div class="button btn-minimal btn-icon btn-icon--copy-link btn-icon--large btn-icon--only">\n                <button data-link="'.concat(t,'" class="cmp-button" title="').concat(this.COPY_LINK_TEXT,'" data-bs-toggle="tooltip" data-bs-placement="top"\n                data-bs-custom-class="custom-tooltip" data-bs-title="').concat(this.COPY_LINK_TEXT,'">
2\n                    <span class="cmp-button__text visually-hidden">').concat(this.COPY_LINK_TEXT,"</span>\n                </button>\n\t\t\t</div>\n\t\t"),r=document.createElement("span");r.innerHTML=n,e.append(r)}}])}();function cy(){var t=this;this.links.forEach(function(e){var n=Array.from(document.querySelectorAll("h2")).filter(function(t){return(t.innerHTML.endsWith("&nbsp;")?t.innerHTML.slice(0,-6):t.innerHTML)===e.innerHTML})[0];n&&(n.id=new URL(e.href).hash.slice(1),t.render(e.href,n))})}function ly(){var t=this;document.querySelectorAll(".btn-icon--copy-link button").forEach(function(e){e.addEventListener("click",function(){oy(ay,t,uy).call(t,e);var n=rn.getInstance(e);n.setContent({".tooltip-inner":"".concat(t.COPIED_LINK_TEXT)}),setTimeout(function(){n.hide(),n.setContent({".tooltip-inner":"".concat(t.COPY_LINK_TEXT)})},2e3)})})}function uy(t){return hy.apply(this,arguments)}function hy(){return hy=function(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(t){ny(o,r,i,a,s,"next",t)}function s(t){ny(o,r,i,a,s,"throw",t)}a(void 0)})}}($v().mark(function t(e){return $v().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,navigator.clipboard.writeText(e.dataset.link);case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),console.error(t.t0.message);case 8:case"end":return t.stop()}},t,null,[[0,5]])})),hy.apply(this,arguments)}function fy(t){return fy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fy(t)}function dy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,py(r.key),r)}}function py(t){var e=function(t){if("object"!=fy(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=fy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==fy(e)?e:e+""}function my(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var gy=new WeakSet,vy=function(){return function(t,e){return e&&dy(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"overlapping";if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,gy),this.el=e,this.stickyElement=this.el.querySelector(".toc"),this.targetElements=this.el.querySelectorAll(".specialty-banner"),this.overlapClass=n,this.XLARGE,this.LARGE,this.LAST_RESIZE,this.isIntersecting,this.stickyElement&&0!==this.targetElements.length){this.handleScrollToc=this.handleScrollToc.bind(this);var r=qi(my(gy,this,by).bind(this),500);window.addEventListener("resize",r),my(gy,this,by).call(this)}},[{key:"handleScrollToc",value:function(){var t=this,e=this.stickyElement.getBoundingClientRect();this.isIntersecting=!1,this.targetElements.forEach(function(n){var r=n.getBoundingClientRect();e.bottom>r.top&&e.top<r.bottom&&(t.isIntersecting=!0)}),this.isIntersecting?(this.stickyElement.classList.add(this.overlapClass),my(gy,this,_y).call(this,"stickyIntersect")):(this.stickyElement.classList.remove(this.overlapClass),my(gy,this,_y).call(this,"stickyLeave"))}}])}();function yy(){window.addEventListener("scroll",this.handleScrollToc),this.handleScrollToc()}function by(){this.XLARGE="XLARGE"===Qo(),this.LARGE="LARGE"===Qo(),(this.XLARGE||this.LARGE)&&this.LAST_RESIZE!=Qo()?my(gy,this,yy).call(this):1!=this.XLARGE&&this.LAST_RESIZE!=Qo()&&my(gy,this,xy).call(this),this.LAST_RESIZE=Qo()}function _y(t){var e=new CustomEvent(t,{detail:{element:this.stickyElement}});document.dispatchEvent(e)}function xy(){window.removeEventListener("scroll",this.handleScrollToc)}function wy(t){return wy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wy(t)}function Sy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ey(r.key),r)}}function Ey(t){var e=function(t){if("object"!=wy(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=wy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==wy(e)?e:e+""}var ky=function(){return function(t,e){return e&&Sy(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.detailCompContainer=e.querySelector(".event-detail"),this.endpoint=this.detailCompContainer.dataset.endpoint,this.getDynamicHtml()},[{key:"getDynamicHtml",value:function(){var t=this;fetch(this.endpoint+"?ck="+Date.now()).then(function(t){if(!t.ok)throw new Error("Network response was not ok "+t.statusText);return t.text()}).then(function(e){if(e)try{var n=(new DOMParser).parseFromString(e,"text/html").querySelector(".cmp-event-detail");n&&(t.detailCompContainer.removeAttribute("aria-busy"),t.detailCompContainer.innerHTML=n.outerHTML),Vl()}catch(t){console.error("Failed to parse the HTML:",t)}}).catch(function(t){console.error("There was a problem fetching data:",t)})}}])}();function Cy(t){return Cy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cy(t)}function Oy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ay(r.key),r)}}function Ay(t){var e=function(t){if("object"!=Cy(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Cy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Cy(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelector(".request-to-speak");t&&new ky(t)});var Ty=function(){return function(t,e){return e&&Oy(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.compContainer=e.querySelector(".cmp-liquor-license-app-list"),this.endpoint=this.compContainer.dataset.endpoint,this.getDynamicHtml()},[{key:"getDynamicHtml",value:function(){var t=this;fetch(this.endpoint+"?ck="+Date.now()).then(function(t){if(!t.ok)throw new Error("Network response was not ok "+t.statusText);return t.text()}).then(function(e){if(e)try{var n=(new DOMParser).parseFromString(e,"text/html").querySelector(".liquor-license-app-list__container");n&&(t.compContainer.removeAttribute("aria-busy"),t.compContainer.innerHTML=n.outerHTML,Vl())}catch(t){console.error("Failed to parse the HTML:",t)}}).catch(function(t){console.error("There was a problem fetching data:",t)})}}])}();document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".liquor-license-app-list");0!==t.length&&t.forEach(function(t){new Ty(t)})});var Ly={hideUploadButton:!1,feedbackActionsPlacement:"activity-status",bubbleBackgroun
vendor: 6,099 bytes, line 2
2d:"#f5f5f5",botAvatarInitials:"VA",botAvatarBackgroundColor:"white",accent:"#a7005c",userAvatarInitials:"PHX",userAvatarImage:"/assets/bat.svg",userAvatarBackgroundColor:"#729bb5"};function Py(t){return Py="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Py(t)}function My(){var t=Fy(),e=t.m(My),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var i={throw:1,return:2,break:3,continue:3};function o(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,i[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,jy(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(My=function(){return{wrap:function(e,n,r,i){return t.w(o(e),n,r,i&&i.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new zy(t,e)},AsyncIterator:Ny,async:function(t,e,n,i,a){return(r(e)?Ry:Iy)(o(t),e,n,i,a)},keys:Dy,values:jy}})()}function jy(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(Py(t)+" is not iterable")}function Dy(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function Iy(t,e,n,r,i){var o=Ry(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})}function Ry(t,e,n,r,i){return new Ny(Fy().w(t,e,n,r),i||Promise)}function Ny(t,e){function n(r,i,o,a){try{var s=t[r](i),c=s.value;return c instanceof zy?e.resolve(c.v).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):e.resolve(c).then(function(t){s.value=t,o(s)},function(t){return n("throw",t,o,a)})}catch(t){a(t)}}var r;this.next||(By(Ny.prototype),By(Ny.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),By(this,"_invoke",function(t,i,o){function a(){return new e(function(e,r){n(t,o,e,r)})}return r=r?r.then(a,a):a()},!0)}function Fy(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof s?r:s,l=Object.create(c.prototype);return By(l,"_invoke",function(n,r,i){var o,s,c,l=0,u=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,s=0,c=t,f.n=n,a}};function d(n,r){for(s=n,c=r,e=0;!h&&l&&!i&&e<u.length;e++){var i,o=u[e],d=f.p,p=o[2];n>3?(i=p===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw h=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&d(u,p),s=u,c=p;(e=s<2?t:c)||!h;){o||(s?s<3?(s>1&&(f.n=-1),d(s,c)):f.n=c:f.v=c);try{if(l=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(h=f.n<0)?c:n.call(r,f))!==a)break}catch(e){o=t,s=1,c=e}finally{l=1}}return{value:e,done:h}}}(n,i,o),!0),l}var a={};function s(){}function c(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(By(e={},r,function(){return this}),e),h=l.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,By(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return c.prototype=l,By(h,"constructor",l),By(l,"constructor",c),c.displayName="GeneratorFunction",By(l,i,"GeneratorFunction"),By(h),By(h,i,"Generator"),By(h,r,function(){return this}),By(h,"toString",function(){return"[object Generator]"}),(Fy=function(){return{w:o,m:f}})()}function By(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}By=function(t,e,n,r){function o(e,n){By(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},By(t,e,n,r)}function zy(t,e){this.v=t,this.k=e}function Hy(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function Vy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,qy(r.key),r)}}function qy(t){var e=function(t){if("object"!=Py(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Py(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Py(e)?e:e+""}var Wy=function(){return function(t,e){return e&&Vy(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.fab=e,this.overlay=n,this.close=r,this.initialized=!1;var i=this.overlay.dataset.sunnyAvatarImage;Ly.botAvatarImage=i,this.setupListeners()},[{key:"setupListeners",value:function(){var t=this;this.fab.addEventListener("click",function(){t.overlay.classList.toggle("sunny-hide"),t.fab.classList.toggle("sunny-hide"),t.initialized||(t.initialized=!0,t.setupCopilot())}),this.close.addEventListener("click",function(){t.overlay.classList.toggle("sunny-hide"),t.fab.classList.toggle("sunny-hide")})}},{key:"setupCopilot",value:(t=function(t){return function(){var e=this,n=arguments;
2return new Promise(function(r,i){var o=t.apply(e,n);function a(t){Hy(o,r,i,a,s,"next",t)}function s(t){Hy(o,r,i,a,s,"throw",t)}a(void 0)})}}(My().mark(function t(){return My().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:fetch("/bin/phx/sunnyAuthentication",{method:"GET",headers:{"Content-Type":"application/json"}}).then(function(t){return t.json()}).then(function(t){return fetch(t.tokenEndpoint)}).then(function(t){return t.json()}).then(function(t){window.WebChat.renderWebChat({directLine:window.WebChat.createDirectLine({token:t.token}),store:window.WebChat.createStore({},function(t){var e=t.dispatch;return function(t){return function(n){return"DIRECT_LINE/CONNECT_FULFILLED"===n.type&&e({meta:{method:"keyboard"},payload:{activity:{channelData:{postBack:!0},name:"startConversation",type:"event"}},type:"DIRECT_LINE/POST_ACTIVITY"}),t(n)}}}),userID:t.sunnyUserID,styleOptions:Ly},document.getElementById("sunnyEmbed"))});case 1:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)})}]);var t}();function Uy(t){return Uy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uy(t)}function Gy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,$y(r.key),r)}}function $y(t){var e=function(t){if("object"!=Uy(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Uy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Uy(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelector(".cmp-sunny-wrapper"),e=document.querySelector(".cmp-sunny-overlay"),n=document.querySelector(".cmp-sunny-overlay-close");t&&e&&n&&new Wy(t,e,n)});var Yy=function(){return function(t,e){return e&&Gy(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.countdownClockEl=e,this.endDate=this.countdownClockEl.dataset.date,this.eventDate=new pi(this.endDate),this.daysEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__day .cmp-countdown-clock__num span"),this.daysElSecondary=this.countdownClockEl.querySelector(".cmp-countdown-clock__day .cmp-countdown-clock__num-second span"),this.hoursEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__hour"),this.minutesEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__min"),this.secondsEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__second"),this.daysSrEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__day-sr"),this.hoursSrEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__hour-sr"),this.minutesSrEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__minute-sr"),this.secondsSrEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__second-sr"),this.concludedContentEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__content--concluded"),this.mainContentEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__content"),this.clockEl=this.countdownClockEl.querySelector(".cmp-countdown-clock__clock"),this.init()},[{key:"getTimeRemaining",value:function(){var t=Date.parse(new Date(this.eventDate.event))-Date.parse(new Date);if(t<=0)return{total:0,days:0,hours:0,minutes:0,seconds:0};var e=Math.floor(t/1e3%60),n=Math.floor(t/1e3/60%60),r=Math.floor(t/36e5%24);return{total:t,days:Math.floor(t/864e5),hours:r,minutes:n,seconds:e}}},{key:"updateClock",value:function(){var t=this.getTimeRemaining();this.daysEl.innerHTML=t.days,this.daysElSecondary.innerHTML=t.days,this.hoursEl.innerHTML=("0"+t.hours).slice(-2),this.minutesEl.innerHTML=("0"+t.minutes).slice(-2),this.secondsEl.innerHTML=("0"+t.seconds).slice(-2),this.handlePluralization(this.countdownClockEl.querySelector(".cmp-countdown-clock__day"),t.days),this.handlePluralization(this.countdownClockEl.querySelector(".cmp-countdown-clock__hour").nextElementSibling,t.hours),this.handlePluralization(this.countdownClockEl.querySelector(".cmp-countdown-clock__min").nextElementSibling,t.minutes),this.handlePluralization(this.countdownClockEl.querySelector(".cmp-countdown-clock__second").nextElementSibling,t.seconds),t.total<=0&&(clearInterval(this.timeInterval),this.mainContentEl.style.display="none",this.concludedContentEl.style.display="block",this.clockEl.style.display="none")}},{key:"updateSR",value:function(){var t=this.getTimeRemaining();this.daysSrEl.innerHTML=t.days,this.hoursSrEl.innerHTML=t.hours,this.minutesSrEl.innerHTML=t.minutes,this.secondsSrEl.innerHTML=t.seconds}},{key:"handlePluralization",value:function(t,e){(t.querySelector(".plural")||t).style.display=1===e?"none":"inline"}},{key:"init",value:function(){var t=this;this.updateClock(),this.updateSR(),this.timeInterval=setInterval(function(){return t.updateClock()},1e3)}}])}();function Ky(t){var e;(e=t).scrollWidth>e.clientWidth?(Xy({currentTarget:t}),t.hasAttribute("data-scroll-listener")||(t.addEventListener("scroll",Xy),t.setAttribute("data-scroll-listener","true"))):(t.classList.remove("scroll"),t.removeEventListener("scroll",Xy),t.removeAttribute("data-scroll-listener"))}function Xy(t){var e=t.currentTarget;e.scrollLeft>0?e.classList.remove("scroll"):e.classList.add("scroll")}function Zy(t){return Zy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zy(t)}function Jy(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Qy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,tb(r.key),r)}}function tb(t){var e=function(t){if("object"!=Zy(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Zy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Zy(e)?e:e+""}document.addEventListener("DOMContentLoaded",function(){var t,e,n=document.querySelectorAll(".table-wrapper, .cmp-searchCustom__dynamic-table");n&&(t=n,e=new ResizeObserver(function(t){t.forEach(function(t){Ky(t.target)})}),t.forEach(function(t){e.observe(t),Ky(t)}))});var eb=function(){return function(t,e){return e&&Qy(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.loadScripts()},[{key:"getCookie",value:function(t){var e="; ".concat(document.cookie).split("; ".concat(t,"="));if(2===e.length)return e.pop().split(";").shift()}},{key:"loadScripts",value:function(){var t=this.getCookie("cookieyes-consent"),e={};if(t){var n,r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
2if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Jy(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jy(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(t.split(","));try{for(r.s();!(n=r.n()).done;){var i=n.value.split(":");e[i[0]]=i[1]}}catch(t){r.e(t)}finally{r.f()}if("yes"===e.advertisement){var o=document.createElement("script");o.src="https://cdn01.basis.net/assets/up.js?um=1",o.onload=function(){cntrUpTag.track("cntrData","460caf1f54f4bae8")},document.head.appendChild(o)}}}}])}();new eb;var nb=function(t){t.querySelectorAll("[data-bs-collapse]").forEach(function(t){return new at(t)}),t.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(function(t){return new rn(t)});var e="cmp-searchCustom",n=t.querySelectorAll(".".concat(e));n.forEach(function(t){t.classList.contains("".concat(e,"--nav"))||new Fc(t,n.length,e)}),t.querySelectorAll(".cmp-toc").forEach(function(t){return new sy(t)}),t.querySelectorAll(".container--toc-sidebar-layout").forEach(function(t){return new vy(t)}),t.querySelectorAll(".cmp-countdown-clock").forEach(function(t){return new Yy(t)})};ir(),nb(document);var rb=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,ib=document.querySelector("body");new rb(function(t){t.forEach(function(t){ir();var e=[].slice.call(t.addedNodes);e.length>0&&e.forEach(function(t){t.querySelectorAll&&nb(t)})})}).observe(ib,{subtree:!0,childList:!0,characterData:!0})})()})();
3//# sourceMappingURL=main.js.map

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