Files
roi24/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/9848-908ee027089c12d7_05Q6.js
T
neo 932ec3ac8f KPI cards: Bloomberg stock ticker style
- Redesign KPI cards to look like stock tickers
- Add ticker ID (e.g. ВЫРУЧК:KPI, AOV:KPI)
- Arrow up/down SVG indicators for change direction
- Mini trend-line (50px) inside each card
- Change color: green (#16a34a) for up, red (#e21d1d) for down
- Remove sparkline background area, keep only line
- Fix duplicate arrowUp variable naming (bArrowUp/bArrowDown/bArrowNeutral)
2026-06-21 18:14:08 +05:00

22 lines
265 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9848],{32289:function(e,t,r){var n,i,o={};e.exports=o,o.themes={};var a=r(89539),s=o.styles=r(38982),l=Object.defineProperties,u=new RegExp(/[\r\n]+/g);o.supportsColor=r(48136).supportsColor,void 0===o.enabled&&(o.enabled=!1!==o.supportsColor()),o.enable=function(){o.enabled=!0},o.disable=function(){o.enabled=!1},o.stripColors=o.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")},o.stylize=function(e,t){if(!o.enabled)return e+"";var r=s[t];return!r&&t in o?o[t](e):r.open+e+r.close};var c=/[|\\{}()[\]^$+*?.]/g,f=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(c,"\\$&")};function d(e){var t=function e(){return m.apply(e,arguments)};return t._styles=e,t.__proto__=p,t}var h=(n={},s.grey=s.gray,Object.keys(s).forEach(function(e){s[e].closeRe=RegExp(f(s[e].close),"g"),n[e]={get:function(){return d(this._styles.concat(e))}}}),n),p=l(function(){},h);function m(){var e=Array.prototype.slice.call(arguments),t=e.map(function(e){return null!=e&&e.constructor===String?e:a.inspect(e)}).join(" ");if(!o.enabled||!t)return t;for(var r=-1!=t.indexOf("\n"),n=this._styles,i=n.length;i--;){var l=s[n[i]];t=l.open+t.replace(l.closeRe,l.open)+l.close,r&&(t=t.replace(u,function(e){return l.close+e+l.open}))}return t}o.setTheme=function(e){if("string"==typeof e){console.log("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file. The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");return}for(var t in e)!function(t){o[t]=function(r){if("object"==typeof e[t]){var n=r;for(var i in e[t])n=o[e[t][i]](n);return n}return o[e[t]](r)}}(t)};var g=function(e,t){var r=t.split("");return(r=r.map(e)).join("")};for(var y in o.trap=r(58763),o.zalgo=r(50750),o.maps={},o.maps.america=r(36278)(o),o.maps.zebra=r(90848)(o),o.maps.rainbow=r(38823)(o),o.maps.random=r(79353)(o),o.maps)!function(e){o[e]=function(t){return g(o.maps[e],t)}}(y);l(o,(i={},Object.keys(h).forEach(function(e){i[e]={get:function(){return d([e])}}}),i))},58763:function(e){e.exports=function(e,t){var r="";e=(e=e||"Run the trap, drop the bass").split("");var n={a:["@","Ą","Ⱥ","Ʌ","Δ","Λ","Д"],b:["\xdf","Ɓ","Ƀ","ɮ","β","฿"],c:["\xa9","Ȼ","Ͼ"],d:["\xd0","Ɗ","Ԁ","ԁ","Ԃ","ԃ"],e:["\xcb","ĕ","Ǝ","ɘ","Σ","ξ","Ҽ","੬"],f:["Ӻ"],g:["ɢ"],h:["Ħ","ƕ","Ң","Һ","Ӈ","Ԋ"],i:["༏"],j:["Ĵ"],k:["ĸ","Ҡ","Ӄ","Ԟ"],l:["Ĺ"],m:["ʍ","Ӎ","ӎ","Ԡ","ԡ","൩"],n:["\xd1","ŋ","Ɲ","Ͷ","Π","Ҋ"],o:["\xd8","\xf5","\xf8","Ǿ","ʘ","Ѻ","ם","۝","๏"],p:["Ƿ","Ҏ"],q:["্"],r:["\xae","Ʀ","Ȑ","Ɍ","ʀ","Я"],s:["\xa7","Ϟ","ϟ","Ϩ"],t:["Ł","Ŧ","ͳ"],u:["Ʊ","Ս"],v:["ט"],w:["Ш","Ѡ","Ѽ","൰"],x:["Ҳ","Ӿ","Ӽ","ӽ"],y:["\xa5","Ұ","Ӌ"],z:["Ƶ","ɀ"]};return e.forEach(function(e){var t=Math.floor(Math.random()*(n[e=e.toLowerCase()]||[" "]).length);void 0!==n[e]?r+=n[e][t]:r+=e}),r}},50750:function(e){e.exports=function(e,t){e=e||" he is here ";var r={up:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],down:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣"],mid:["̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͜","͝","͞","͟","͠","͢","̸","̷","͡"," ҉"]},n=[].concat(r.up,r.down,r.mid);function i(e){return Math.floor(Math.random()*e)}return function(e,t){var o,a,s="";for(a in(t=t||{}).up=void 0===t.up||t.up,t.mid=void 0===t.mid||t.mid,t.down=void 0===t.down||t.down,t.size=void 0!==t.size?t.size:"maxi",e=e.split(""))if(!function(e){var t=!1;return n.filter(function(r){t=r===e}),t}(a)){switch(s+=e[a],o={up:0,down:0,mid:0},t.size){case"mini":o.up=i(8),o.mid=i(2),o.down=i(8);break;case"maxi":o.up=i(16)+3,o.mid=i(4)+1,o.down=i(64)+3;break;default:o.up=i(8)+1,o.mid=i(6)/2,o.down=i(8)+1}var l=["up","mid","down"];for(var u in l)for(var c=l[u],f=0;f<=o[c];f++)t[c]&&(s+=r[c][i(r[c].length)])}return s}(e,t)}},36278:function(e){e.exports=function(e){return function(t,r,n){if(" "===t)return t;switch(r%3){case 0:return e.red(t);case 1:return e.white(t);case 2:return e.blue(t)}}}},38823:function(e){e.exports=function(e){var t=["red","yellow","green","blue","magenta"];return function(r,n,i){return" "===r?r:e[t[n++%t.length]](r)}}},79353:function(e){e.exports=function(e){var t=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta","brightYellow","brightRed","brightGreen","brightBlue","brightWhite","brightCyan","brightMagenta"];return function(r,n,i){return" "===r?r:e[t[Math.round(Math.random()*(t.length-2))]](r)}}},90848:function(e){e.exports=function(e){return function(t,r,n){return r%2==0?t:e.inverse(t)}}},38982:function(e){var t={};e.exports=t;var r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],brightRed:[91,39],brightGreen:[92,39],brightYellow:[93,39],brightBlue:[94,39],brightMagenta:[95,39],brightCyan:[96,39],brightWhite:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgGray:[100,49],bgGrey:[100,49],bgBrightRed:[101,49],bgBrightGreen:[102,49],bgBrightYellow:[103,49],bgBrightBlue:[104,49],bgBrightMagenta:[105,49],bgBrightCyan:[106,49],bgBrightWhite:[107,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(r).forEach(function(e){var n=r[e],i=t[e]=[];i.open="\x1b["+n[0]+"m",i.close="\x1b["+n[1]+"m"})},43719:function(e,t,r){"use strict";var n=r(34155);e.exports=function(e,t){var r=(t=t||n.argv||[]).indexOf("--"),i=/^-{1,2}/.test(e)?"":"--",o=t.indexOf(i+e);return -1!==o&&(-1===r||o<r)}},48136:function(e,t,r){"use strict";var n=r(34155),i=r(73461),o=r(43719),a=n.env,s=void 0;function l(e){var t;return 0!==(t=function(e){if(!1===s)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==s)return 0;var t=s?1:0;if("win32"===n.platform){var r=i.release().split(".");return Number(n.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(e){return e in a})||"codeship"===a.CI_NAME?1:t;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in a){var l=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return l>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:(a.TERM,t)}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o("no-color")||o("no-colors")||o("color=false")?s=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=!0),"FORCE_COLOR"in a&&(s=0===a.FORCE_COLOR.length||0!==parseInt(a.FORCE_COLOR,10)),e.exports={supportsColor:l,stdout:l(n.stdout),stderr:l(n.stderr)}},33645:function(e,t,r){var n=r(32289);e.exports=n},12524:function(e,t,r){e.exports=r(10519)},10519:function(e,t,r){var n=r(4099)(function e(t,r){return((r=r||{}).namespace=t,r.prod=!0,r.dev=!1,r.force||e.force)?e.yep(r):e.nope(r)});e.exports=n},4099:function(e){var t=[],r=[],n=function(){};function i(e){return!~t.indexOf(e)&&(t.push(e),!0)}function o(e){n=e}function a(e){for(var r=[],n=0;n<t.length;n++){if(t[n].async){r.push(t[n]);continue}if(t[n](e))return!0}return!!r.length&&new Promise(function(t){Promise.all(r.map(function(t){return t(e)})).then(function(e){t(e.some(Boolean))})})}function s(e){return!~r.indexOf(e)&&(r.push(e),!0)}function l(){n.apply(n,arguments)}function u(e){for(var t=0;t<r.length;t++)e=r[t].apply(r[t],arguments);return e}function c(e,t){var r=Object.prototype.hasOwnProperty;for(var n in t)r.call(t,n)&&(e[n]=t[n]);return e}function f(e){return e.enabled=!1,e.modify=s,e.set=o,e.use=i,c(function(){return!1},e)}function d(e){return e.enabled=!0,e.modify=s,e.set=o,e.use=i,c(function(){var t=Array.prototype.slice.call(arguments,0);return l.call(l,e,u(t,e)),!0},e)}e.exports=function(e){return e.introduce=c,e.enabled=a,e.process=u,e.modify=s,e.write=l,e.nope=f,e.yep=d,e.set=o,e.use=i,e}},10097:function(e,t,r){"use strict";var n=r(15832),i=r(34155);n.addColors({error:"red",warn:"yellow",info:"green",http:"magenta",debug:"white"});let o=n.format(e=>{if(e.message instanceof Error){let t=e.message;return{...e,message:t.message,stack:t.stack}}return e instanceof Error?{...e,message:e.message,stack:e.stack}:e}),a=n.format.combine(o(),n.format.timestamp({format:"YYYY-MM-DD HH:mm:ss:ms"}),n.format.colorize({all:!1}),n.format.printf(e=>`${e.timestamp} ${e.level}: ${e.message} ${e.stack??""}`)),s=[new n.transports.Console],l=n.createLogger({level:i.env.LOG_LEVEL||"warn",levels:{error:0,warn:1,info:2,http:3,debug:4},format:a,transports:s});t.Z=l},71874:function(e,t,r){"use strict";r.d(t,{H:function(){return a}});var n=r(85893),i=r(67294);let o={threshold:0},a=(0,i.forwardRef)((e,t)=>{let{children:r,className:a,rootMargin:s,once:l=!1,onEnter:u,onIntersection:c,onLeave:f,onTransition:d,options:h,rootElement:p,threshold:m}=e,g=function({disconnectOnEnter:e,onEnter:t,onIntersection:r,onLeave:n,onTransition:a,options:s=o}){let[l,u]=(0,i.useState)(),c=(0,i.useRef)(new WeakMap),f=(0,i.useRef)(new WeakMap),d=(0,i.useCallback)(e=>u(e),[]);return(0,i.useEffect)(()=>{if(!l)return;c.current.set(l,void 0),f.current.set(l,null);let i=e=>{if(!(s?.root&&a))return;let t=f.current.get(l);t||(t=()=>{window.requestAnimationFrame(()=>{a({...e,boundingClientRect:e.target.getBoundingClientRect()})})},f.current.set(l,t),s.root.addEventListener("scroll",t))},o=()=>{if(!s?.root)return;let e=f.current.get(l);e&&(s.root.removeEventListener("scroll",e),f.current.delete(l))},u=function(e,t,r){let n=new IntersectionObserver(e,r);return n.observe(t),n}(([s])=>{let f=s.isIntersecting,d=c.current.get(l),h=f!==d;if(s.intersectionRatio>=0&&r?.(s.intersectionRatio),f&&void 0!==a&&i(s),!f&&d&&(n?.(),o()),c.current.set(l,f),h&&!(s.intersectionRatio<=0)&&f){t?.(),e&&(u.disconnect(),c.current.delete(l),o());return}},l,{...s,root:s?.root??document});return()=>{u.disconnect()}},[l]),d}({disconnectOnEnter:l,onEnter:u,onIntersection:c,onLeave:f,onTransition:d,options:{...h,root:p,rootMargin:s,threshold:m}}),y=(0,i.useCallback)(e=>{g(e),"function"!=typeof t&&null!==t&&(t.current=e)},[]);return(0,n.jsx)("div",{className:a,ref:y,"data-testid":"viewport-element",children:r})})},44409:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.isAsync)(e)?function(...t){let r=t.pop();return s(e.apply(this,t),r)}:(0,n.default)(function(t,r){var n;try{n=e.apply(this,t)}catch(e){return r(e)}if(n&&"function"==typeof n.then)return s(n,r);r(null,n)})};var n=a(r(43519)),i=a(r(3111)),o=r(28993);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return e.then(e=>{l(t,null,e)},e=>{l(t,e&&(e instanceof Error||e.message)?e:Error(e))})}function l(e,t,r){try{e(t,r)}catch(e){(0,i.default)(e=>{throw e},e)}}e.exports=t.default},71846:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(r(95616)),i=c(r(1605)),o=c(r(97388)),a=c(r(46979)),s=c(r(13362)),l=c(r(28993)),u=c(r(2795));function c(e){return e&&e.__esModule?e:{default:e}}t.default=(0,u.default)(function(e,t,r){return((0,n.default)(e)?function(e,t,r){r=(0,a.default)(r);var n=0,o=0,{length:l}=e,u=!1;function c(e,t){!1===e&&(u=!0),!0!==u&&(e?r(e):(++o===l||t===i.default)&&r(null))}for(0===l&&r(null);n<l;n++)t(e[n],n,(0,s.default)(c))}:function(e,t,r){return(0,o.default)(e,1/0,t,r)})(e,(0,l.default)(t),r)},3),e.exports=t.default},97388:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(r(56954)),i=a(r(28993)),o=a(r(2795));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.default)(function(e,t,r,o){return(0,n.default)(t)(e,(0,i.default)(r),o)},4),e.exports=t.default},20667:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(r(97388)),i=o(r(2795));function o(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.default)(function(e,t,r){return(0,n.default)(e,1,t,r)},3),e.exports=t.default},78058:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(r(71846)),i=s(r(36529)),o=s(r(28993)),a=s(r(2795));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,a.default)(function(e,t,r){return(0,n.default)(e,(0,i.default)((0,o.default)(t)),r)},3),e.exports=t.default},58617:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n){let o=!1,a=!1,s=!1,l=0,u=0;function c(){l>=t||s||o||(s=!0,e.next().then(({value:e,done:t})=>{if(!a&&!o){if(s=!1,t){o=!0,l<=0&&n(null);return}l++,r(e,u,f),u++,c()}}).catch(d))}function f(e,t){if(l-=1,!a){if(e)return d(e);if(!1===e){o=!0,a=!0;return}if(t===i.default||o&&l<=0)return o=!0,n(null);c()}}function d(e){a||(s=!1,o=!0,n(e))}c()};var n,i=(n=r(1605))&&n.__esModule?n:{default:n};e.exports=t.default},2795:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t||(t=e.length),!t)throw Error("arity is undefined");return function(...r){return"function"==typeof r[t-1]?e.apply(this,r):new Promise((n,i)=>{r[t-1]=(e,...t)=>{if(e)return i(e);n(t.length>1?t:t[0])},e.apply(this,r)})}},e.exports=t.default},1605:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={},e.exports=t.default},56954:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=u(r(46979)),i=u(r(9733)),o=u(r(13362)),a=r(28993),s=u(r(58617)),l=u(r(1605));function u(e){return e&&e.__esModule?e:{default:e}}t.default=e=>(t,r,u)=>{if(u=(0,n.default)(u),e<=0)throw RangeError("concurrency limit cannot be less than 1");if(!t)return u(null);if((0,a.isAsyncGenerator)(t))return(0,s.default)(t,e,r,u);if((0,a.isAsyncIterable)(t))return(0,s.default)(t[Symbol.asyncIterator](),e,r,u);var c=(0,i.default)(t),f=!1,d=!1,h=0,p=!1;function m(e,t){if(!d){if(h-=1,e)f=!0,u(e);else if(!1===e)f=!0,d=!0;else{if(t===l.default||f&&h<=0)return f=!0,u(null);p||g()}}}function g(){for(p=!0;h<e&&!f;){var t=c();if(null===t){f=!0,h<=0&&u(null);return}h+=1,r(t.value,t.key,(0,o.default)(m))}p=!1}g()},e.exports=t.default},37818:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()},e.exports=t.default},43519:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(...t){var r=t.pop();return e.call(this,t,r)}},e.exports=t.default},95616:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&"number"==typeof e.length&&e.length>=0&&e.length%1==0},e.exports=t.default},9733:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,n.default)(e))return t=-1,r=e.length,function(){return++t<r?{value:e[t],key:t}:null};var t,r,o,a,s,l,u=(0,i.default)(e);return u?(o=-1,function(){var e=u.next();return e.done?null:(o++,{value:e.value,key:o})}):(a=e?Object.keys(e):[],s=-1,l=a.length,function t(){var r=a[++s];return"__proto__"===r?t():s<l?{value:e[r],key:r}:null})};var n=o(r(95616)),i=o(r(37818));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},46979:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(...r){if(null!==e){var n=e;e=null,n.apply(this,r)}}return Object.assign(t,e),t},e.exports=t.default},13362:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(...t){if(null===e)throw Error("Callback was already called.");var r=e;e=null,r.apply(this,t)}},e.exports=t.default},73409:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(r(95616)),i=a(r(28993)),o=a(r(2795));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.default)((e,t,r)=>{var o=(0,n.default)(t)?[]:{};e(t,(e,t,r)=>{(0,i.default)(e)((e,...n)=>{n.length<2&&([n]=n),o[t]=n,r(e)})},e=>r(e,o))},3),e.exports=t.default},3111:function(e,t,r){"use strict";var n,i=r(34155);Object.defineProperty(t,"__esModule",{value:!0}),t.fallback=l,t.wrap=u;var o=t.hasQueueMicrotask="function"==typeof queueMicrotask&&queueMicrotask,a=t.hasSetImmediate="function"==typeof setImmediate&&setImmediate,s=t.hasNextTick="object"==typeof i&&"function"==typeof i.nextTick;function l(e){setTimeout(e,0)}function u(e){return(t,...r)=>e(()=>t(...r))}n=o?queueMicrotask:a?setImmediate:s?i.nextTick:l,t.default=u(n)},36529:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(t,r,n)=>e(t,n)},e.exports=t.default},28993:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=t.isAsyncGenerator=t.isAsync=void 0;var n,i=(n=r(44409))&&n.__esModule?n:{default:n};function o(e){return"AsyncFunction"===e[Symbol.toStringTag]}t.default=function(e){if("function"!=typeof e)throw Error("expected a function");return o(e)?(0,i.default)(e):e},t.isAsync=o,t.isAsyncGenerator=function(e){return"AsyncGenerator"===e[Symbol.toStringTag]},t.isAsyncIterable=function(e){return"function"==typeof e[Symbol.asyncIterator]}},48415:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(i.default,e,t)};var n=o(r(73409)),i=o(r(20667));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},5239:function(e){"use strict";let{entries:t,setPrototypeOf:r,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object,{freeze:a,seal:s,create:l}=Object,{apply:u,construct:c}="undefined"!=typeof Reflect&&Reflect;a||(a=function(e){return e}),s||(s=function(e){return e}),u||(u=function(e,t,r){return e.apply(t,r)}),c||(c=function(e,t){return new e(...t)});let f=x(Array.prototype.forEach),d=x(Array.prototype.lastIndexOf),h=x(Array.prototype.pop),p=x(Array.prototype.push),m=x(Array.prototype.splice),g=x(String.prototype.toLowerCase),y=x(String.prototype.toString),b=x(String.prototype.match),_=x(String.prototype.replace),v=x(String.prototype.indexOf),w=x(String.prototype.trim),E=x(Object.prototype.hasOwnProperty),S=x(RegExp.prototype.test),k=($=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return c($,t)});function x(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return u(e,t,n)}}function O(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;r&&r(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){let e=i(r);e!==r&&(n(t)||(t[o]=e),r=e)}e[r]=!0}return e}function T(e){let r=l(null);for(let[n,i]of t(e))E(e,n)&&(Array.isArray(i)?r[n]=function(e){for(let t=0;t<e.length;t++)E(e,t)||(e[t]=null);return e}(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=T(i):r[n]=i);return r}function R(e,t){for(;null!==e;){let r=o(e,t);if(r){if(r.get)return x(r.get);if("function"==typeof r.value)return x(r.value)}e=i(e)}return function(){return null}}let M=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),C=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),j=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),A=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=a(["#text"]),D=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),I=a(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=s(/<%[\w\W]*|[\w\W]*%>/gm),H=s(/\$\{[\w\W]*/gm),Z=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=s(/^aria-[\-\w]+$/),G=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=s(/^(?:\w+script|data):/i),q=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=s(/^html$/i);var $,K=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:q,CUSTOM_ELEMENT:s(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:Z,DOCTYPE_NAME:V,ERB_EXPR:U,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:Y,MUSTACHE_EXPR:B,TMPLIT_EXPR:H});let X={element:1,text:3,progressingInstruction:7,comment:8,document:9},Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},J=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var ee=function e(){let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.2.6",i.removed=[],!n||!n.document||n.document.nodeType!==X.document||!n.Element)return i.isSupported=!1,i;let{document:o}=n,s=o,u=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:x,Node:B,Element:U,NodeFilter:H,NamedNodeMap:Z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:W,DOMParser:Y,trustedTypes:q}=n,$=U.prototype,ee=R($,"cloneNode"),et=R($,"remove"),er=R($,"nextSibling"),en=R($,"childNodes"),ei=R($,"parentNode");if("function"==typeof x){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let eo="",{implementation:ea,createNodeIterator:es,createDocumentFragment:el,getElementsByTagName:eu}=o,{importNode:ec}=s,ef=J();i.isSupported="function"==typeof t&&"function"==typeof ei&&ea&&void 0!==ea.createHTMLDocument;let{MUSTACHE_EXPR:ed,ERB_EXPR:eh,TMPLIT_EXPR:ep,DATA_ATTR:em,ARIA_ATTR:eg,IS_SCRIPT_OR_DATA:ey,ATTR_WHITESPACE:eb,CUSTOM_ELEMENT:e_}=K,{IS_ALLOWED_URI:ev}=K,ew=null,eE=O({},[...M,...N,...P,...j,...L]),eS=null,ek=O({},[...D,...I,...z,...F]),ex=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eO=null,eT=null,eR=!0,eM=!0,eN=!1,eP=!0,eC=!1,ej=!0,eA=!1,eL=!1,eD=!1,eI=!1,ez=!1,eF=!1,eB=!0,eU=!1,eH=!0,eZ=!1,eW={},eG=null,eY=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eq=null,eV=O({},["audio","video","img","source","image","track"]),e$=null,eK=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eX="http://www.w3.org/1998/Math/MathML",eQ="http://www.w3.org/2000/svg",eJ="http://www.w3.org/1999/xhtml",e0=eJ,e1=!1,e2=null,e3=O({},[eX,eQ,eJ],y),e5=O({},["mi","mo","mn","ms","mtext"]),e6=O({},["annotation-xml"]),e4=O({},["title","style","font","a","script"]),e8=null,e9=["application/xhtml+xml","text/html"],e7=null,te=null,tt=o.createElement("form"),tr=function(e){return e instanceof RegExp||e instanceof Function},tn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=T(e),e7="application/xhtml+xml"===(e8=-1===e9.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?y:g,ew=E(e,"ALLOWED_TAGS")?O({},e.ALLOWED_TAGS,e7):eE,eS=E(e,"ALLOWED_ATTR")?O({},e.ALLOWED_ATTR,e7):ek,e2=E(e,"ALLOWED_NAMESPACES")?O({},e.ALLOWED_NAMESPACES,y):e3,e$=E(e,"ADD_URI_SAFE_ATTR")?O(T(eK),e.ADD_URI_SAFE_ATTR,e7):eK,eq=E(e,"ADD_DATA_URI_TAGS")?O(T(eV),e.ADD_DATA_URI_TAGS,e7):eV,eG=E(e,"FORBID_CONTENTS")?O({},e.FORBID_CONTENTS,e7):eY,eO=E(e,"FORBID_TAGS")?O({},e.FORBID_TAGS,e7):T({}),eT=E(e,"FORBID_ATTR")?O({},e.FORBID_ATTR,e7):T({}),eW=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,eR=!1!==e.ALLOW_ARIA_ATTR,eM=!1!==e.ALLOW_DATA_ATTR,eN=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eP=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eC=e.SAFE_FOR_TEMPLATES||!1,ej=!1!==e.SAFE_FOR_XML,eA=e.WHOLE_DOCUMENT||!1,eI=e.RETURN_DOM||!1,ez=e.RETURN_DOM_FRAGMENT||!1,eF=e.RETURN_TRUSTED_TYPE||!1,eD=e.FORCE_BODY||!1,eB=!1!==e.SANITIZE_DOM,eU=e.SANITIZE_NAMED_PROPS||!1,eH=!1!==e.KEEP_CONTENT,eZ=e.IN_PLACE||!1,ev=e.ALLOWED_URI_REGEXP||G,e0=e.NAMESPACE||eJ,e5=e.MATHML_TEXT_INTEGRATION_POINTS||e5,e6=e.HTML_INTEGRATION_POINTS||e6,ex=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ex.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ex.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ex.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eC&&(eM=!1),ez&&(eI=!0),eW&&(ew=O({},L),eS=[],!0===eW.html&&(O(ew,M),O(eS,D)),!0===eW.svg&&(O(ew,N),O(eS,I),O(eS,F)),!0===eW.svgFilters&&(O(ew,P),O(eS,I),O(eS,F)),!0===eW.mathMl&&(O(ew,j),O(eS,z),O(eS,F))),e.ADD_TAGS&&(ew===eE&&(ew=T(ew)),O(ew,e.ADD_TAGS,e7)),e.ADD_ATTR&&(eS===ek&&(eS=T(eS)),O(eS,e.ADD_ATTR,e7)),e.ADD_URI_SAFE_ATTR&&O(e$,e.ADD_URI_SAFE_ATTR,e7),e.FORBID_CONTENTS&&(eG===eY&&(eG=T(eG)),O(eG,e.FORBID_CONTENTS,e7)),eH&&(ew["#text"]=!0),eA&&O(ew,["html","head","body"]),ew.table&&(O(ew,["tbody"]),delete eO.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw k('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw k('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(r=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===r&&(r=Q(q,u)),null!==r&&"string"==typeof eo&&(eo=r.createHTML(""));a&&a(e),te=e}},ti=O({},[...N,...P,...C]),to=O({},[...j,...A]),ta=function(e){let t=ei(e);t&&t.tagName||(t={namespaceURI:e0,tagName:"template"});let r=g(e.tagName),n=g(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eQ?t.namespaceURI===eJ?"svg"===r:t.namespaceURI===eX?"svg"===r&&("annotation-xml"===n||e5[n]):!!ti[r]:e.namespaceURI===eX?t.namespaceURI===eJ?"math"===r:t.namespaceURI===eQ?"math"===r&&e6[n]:!!to[r]:e.namespaceURI===eJ?(t.namespaceURI!==eQ||!!e6[n])&&(t.namespaceURI!==eX||!!e5[n])&&!to[r]&&(e4[r]||!ti[r]):"application/xhtml+xml"===e8&&!!e2[e.namespaceURI])},ts=function(e){p(i.removed,{element:e});try{ei(e).removeChild(e)}catch(t){et(e)}},tl=function(e,t){try{p(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e){if(eI||ez)try{ts(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tu=function(e){let t=null,n=null;if(eD)e="<remove></remove>"+e;else{let t=b(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===e8&&e0===eJ&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let i=r?r.createHTML(e):e;if(e0===eJ)try{t=new Y().parseFromString(i,e8)}catch(e){}if(!t||!t.documentElement){t=ea.createDocument(e0,"template",null);try{t.documentElement.innerHTML=e1?eo:i}catch(e){}}let a=t.body||t.documentElement;return(e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),e0===eJ)?eu.call(t,eA?"html":"body")[0]:eA?t.documentElement:a},tc=function(e){return es.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},tf=function(e){return e instanceof W&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof Z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},td=function(e){return"function"==typeof B&&e instanceof B};function th(e,t,r){f(e,e=>{e.call(i,t,r,te)})}let tp=function(e){let t=null;if(th(ef.beforeSanitizeElements,e,null),tf(e))return ts(e),!0;let r=e7(e.nodeName);if(th(ef.uponSanitizeElement,e,{tagName:r,allowedTags:ew}),ej&&e.hasChildNodes()&&!td(e.firstElementChild)&&S(/<[/\w!]/g,e.innerHTML)&&S(/<[/\w!]/g,e.textContent)||e.nodeType===X.progressingInstruction||ej&&e.nodeType===X.comment&&S(/<[/\w]/g,e.data))return ts(e),!0;if(!ew[r]||eO[r]){if(!eO[r]&&tg(r)&&(ex.tagNameCheck instanceof RegExp&&S(ex.tagNameCheck,r)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(r)))return!1;if(eH&&!eG[r]){let t=ei(e)||e.parentNode,r=en(e)||e.childNodes;if(r&&t){let n=r.length;for(let i=n-1;i>=0;--i){let n=ee(r[i],!0);n.__removalCount=(e.__removalCount||0)+1,t.insertBefore(n,er(e))}}}return ts(e),!0}return e instanceof U&&!ta(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&S(/<\/no(script|embed|frames)/i,e.innerHTML)?(ts(e),!0):(eC&&e.nodeType===X.text&&(t=e.textContent,f([ed,eh,ep],e=>{t=_(t,e," ")}),e.textContent!==t&&(p(i.removed,{element:e.cloneNode()}),e.textContent=t)),th(ef.afterSanitizeElements,e,null),!1)},tm=function(e,t,r){if(eB&&("id"===t||"name"===t)&&(r in o||r in tt))return!1;if(eM&&!eT[t]&&S(em,t));else if(eR&&S(eg,t));else if(!eS[t]||eT[t]){if(!(tg(e)&&(ex.tagNameCheck instanceof RegExp&&S(ex.tagNameCheck,e)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(e))&&(ex.attributeNameCheck instanceof RegExp&&S(ex.attributeNameCheck,t)||ex.attributeNameCheck instanceof Function&&ex.attributeNameCheck(t))||"is"===t&&ex.allowCustomizedBuiltInElements&&(ex.tagNameCheck instanceof RegExp&&S(ex.tagNameCheck,r)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(r))))return!1}else if(e$[t]);else if(S(ev,_(r,eb,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===v(r,"data:")&&eq[e]);else if(eN&&!S(ey,_(r,eb,"")));else if(r)return!1;return!0},tg=function(e){return"annotation-xml"!==e&&b(e,e_)},ty=function(e){th(ef.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||tf(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eS,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:a,namespaceURI:s,value:l}=t[o],u=e7(a),c="value"===a?l:w(l);if(n.attrName=u,n.attrValue=c,n.keepAttr=!0,n.forceKeepAttr=void 0,th(ef.uponSanitizeAttribute,e,n),c=n.attrValue,eU&&("id"===u||"name"===u)&&(tl(a,e),c="user-content-"+c),ej&&S(/((--!?|])>)|<\/(style|title)/i,c)){tl(a,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr||!eP&&S(/\/>/i,c)){tl(a,e);continue}eC&&f([ed,eh,ep],e=>{c=_(c,e," ")});let d=e7(e.nodeName);if(!tm(d,u,c)){tl(a,e);continue}if(r&&"object"==typeof q&&"function"==typeof q.getAttributeType){if(s);else switch(q.getAttributeType(d,u)){case"TrustedHTML":c=r.createHTML(c);break;case"TrustedScriptURL":c=r.createScriptURL(c)}}if(c!==l)try{s?e.setAttributeNS(s,a,c):e.setAttribute(a,c),tf(e)?ts(e):h(i.removed)}catch(t){tl(a,e)}}th(ef.afterSanitizeAttributes,e,null)},tb=function e(t){let r=null,n=tc(t);for(th(ef.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)th(ef.uponSanitizeShadowNode,r,null),tp(r),ty(r),r.content instanceof c&&e(r.content);th(ef.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,a=null,l=null;if((e1=!e)&&(e="<!-->"),"string"!=typeof e&&!td(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw k("dirty is not a string, aborting")}else throw k("toString is not a function")}if(!i.isSupported)return e;if(eL||tn(t),i.removed=[],"string"==typeof e&&(eZ=!1),eZ){if(e.nodeName){let t=e7(e.nodeName);if(!ew[t]||eO[t])throw k("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof B)(o=(n=tu("<!---->")).ownerDocument.importNode(e,!0)).nodeType===X.element&&"BODY"===o.nodeName?n=o:"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!eI&&!eC&&!eA&&-1===e.indexOf("<"))return r&&eF?r.createHTML(e):e;if(!(n=tu(e)))return eI?null:eF?eo:""}n&&eD&&ts(n.firstChild);let u=tc(eZ?e:n);for(;a=u.nextNode();)tp(a),ty(a),a.content instanceof c&&tb(a.content);if(eZ)return e;if(eI){if(ez)for(l=el.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(eS.shadowroot||eS.shadowrootmode)&&(l=ec.call(s,l,!0)),l}let d=eA?n.outerHTML:n.innerHTML;return eA&&ew["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(V,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),eC&&f([ed,eh,ep],e=>{d=_(d,e," ")}),r&&eF?r.createHTML(d):d},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tn(e),eL=!0},i.clearConfig=function(){te=null,eL=!1},i.isValidAttribute=function(e,t,r){return te||tn({}),tm(e7(e),e7(t),r)},i.addHook=function(e,t){"function"==typeof t&&p(ef[e],t)},i.removeHook=function(e,t){if(void 0!==t){let r=d(ef[e],t);return -1===r?void 0:m(ef[e],r,1)[0]}return h(ef[e])},i.removeHooks=function(e){ef[e]=[]},i.removeAllHooks=function(){ef=J()},i}();e.exports=ee},19432:function(e,t,r){"use strict";r.r(t),r.d(t,{assign:function(){return c},defaultI18n:function(){return p},format:function(){return R},parse:function(){return M},setGlobalDateI18n:function(){return g},setGlobalDateMasks:function(){return T}});var n=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,i="\\d\\d?",o="\\d\\d",a="[^\\s]+",s=/\[([^]*?)\]/gm;function l(e,t){for(var r=[],n=0,i=e.length;n<i;n++)r.push(e[n].substr(0,t));return r}var u=function(e){return function(t,r){var n=r[e].map(function(e){return e.toLowerCase()}).indexOf(t.toLowerCase());return n>-1?n:null}};function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0;n<t.length;n++){var i=t[n];for(var o in i)e[o]=i[o]}return e}var f=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["January","February","March","April","May","June","July","August","September","October","November","December"],h=l(d,3),p={dayNamesShort:l(f,3),dayNames:f,monthNamesShort:h,monthNames:d,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10?1:0)*e%10]}},m=c({},p),g=function(e){return m=c(m,e)},y=function(e){return e.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},b=function(e,t){for(void 0===t&&(t=2),e=String(e);e.length<t;)e="0"+e;return e},_={D:function(e){return String(e.getDate())},DD:function(e){return b(e.getDate())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return String(e.getDay())},dd:function(e){return b(e.getDay())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return String(e.getMonth()+1)},MM:function(e){return b(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},YY:function(e){return b(String(e.getFullYear()),4).substr(2)},YYYY:function(e){return b(e.getFullYear(),4)},h:function(e){return String(e.getHours()%12||12)},hh:function(e){return b(e.getHours()%12||12)},H:function(e){return String(e.getHours())},HH:function(e){return b(e.getHours())},m:function(e){return String(e.getMinutes())},mm:function(e){return b(e.getMinutes())},s:function(e){return String(e.getSeconds())},ss:function(e){return b(e.getSeconds())},S:function(e){return String(Math.round(e.getMilliseconds()/100))},SS:function(e){return b(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return b(e.getMilliseconds(),3)},a:function(e,t){return 12>e.getHours()?t.amPm[0]:t.amPm[1]},A:function(e,t){return 12>e.getHours()?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+b(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+b(Math.floor(Math.abs(t)/60),2)+":"+b(Math.abs(t)%60,2)}},v=function(e){return+e-1},w=[null,i],E=[null,a],S=["isPm",a,function(e,t){var r=e.toLowerCase();return r===t.amPm[0]?0:r===t.amPm[1]?1:null}],k=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(e){var t=(e+"").match(/([+-]|\d\d)/gi);if(t){var r=60*+t[1]+parseInt(t[2],10);return"+"===t[0]?r:-r}return 0}],x={D:["day",i],DD:["day",o],Do:["day",i+a,function(e){return parseInt(e,10)}],M:["month",i,v],MM:["month",o,v],YY:["year",o,function(e){var t=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+e>68?t-1:t)+e)}],h:["hour",i,void 0,"isPm"],hh:["hour",o,void 0,"isPm"],H:["hour",i],HH:["hour",o],m:["minute",i],mm:["minute",o],s:["second",i],ss:["second",o],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(e){return 100*+e}],SS:["millisecond",o,function(e){return 10*+e}],SSS:["millisecond","\\d{3}"],d:w,dd:w,ddd:E,dddd:E,MMM:["month",a,u("monthNamesShort")],MMMM:["month",a,u("monthNames")],a:S,A:S,ZZ:k,Z:k},O={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},T=function(e){return c(O,e)},R=function(e,t,r){if(void 0===t&&(t=O.default),void 0===r&&(r={}),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw Error("Invalid Date pass to format");t=O[t]||t;var i=[];t=t.replace(s,function(e,t){return i.push(t),"@@@"});var o=c(c({},m),r);return(t=t.replace(n,function(t){return _[t](e,o)})).replace(/@@@/g,function(){return i.shift()})};function M(e,t,r){if(void 0===r&&(r={}),"string"!=typeof t)throw Error("Invalid format in fecha parse");if(t=O[t]||t,e.length>1e3)return null;var i,o={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],l=[],u=t.replace(s,function(e,t){return l.push(y(t)),"@@@"}),f={},d={};u=y(u).replace(n,function(e){var t=x[e],r=t[0],n=t[1],i=t[3];if(f[r])throw Error("Invalid format. "+r+" specified twice in format");return f[r]=!0,i&&(d[i]=!0),a.push(t),"("+n+")"}),Object.keys(d).forEach(function(e){if(!f[e])throw Error("Invalid format. "+e+" is required in specified format")}),u=u.replace(/@@@/g,function(){return l.shift()});var h=e.match(RegExp(u,"i"));if(!h)return null;for(var p=c(c({},m),r),g=1;g<h.length;g++){var b=a[g-1],_=b[0],v=b[2],w=v?v(h[g],p):+h[g];if(null==w)return null;o[_]=w}if(1===o.isPm&&null!=o.hour&&12!=+o.hour?o.hour=+o.hour+12:0===o.isPm&&12==+o.hour&&(o.hour=0),null==o.timezoneOffset){i=new Date(o.year,o.month,o.day,o.hour,o.minute,o.second,o.millisecond);for(var E=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],g=0,S=E.length;g<S;g++)if(f[E[g][0]]&&o[E[g][0]]!==i[E[g][1]]())return null}else if(i=new Date(Date.UTC(o.year,o.month,o.day,o.hour,o.minute-o.timezoneOffset,o.second,o.millisecond)),o.month>11||o.month<0||o.day>31||o.day<1||o.hour>23||o.hour<0||o.minute>59||o.minute<0||o.second>59||o.second<0)return null;return i}t.default={format:R,parse:M,defaultI18n:p,setGlobalDateI18n:g,setGlobalDateMasks:T}},32296:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){if("string"==typeof e.displayName&&e.constructor.name)return e.displayName;if("string"==typeof e.name&&e.name)return e.name;if("object"==typeof e&&e.constructor&&"string"==typeof e.constructor.name)return e.constructor.name;var r=e.toString(),n=t.call(e).slice(8,-1);return(r="Function"===n?r.substring(r.indexOf("(")+1,r.indexOf(")")):n)||"anonymous"}},24970:function(e){"use strict";let t=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;t.writable=e=>t(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,t.readable=e=>t(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,t.duplex=e=>t.writable(e)&&t.readable(e),t.transform=e=>t.duplex(e)&&"function"==typeof e._transform,e.exports=t},29238:function(e,t,r){e.exports=window.DOMPurify||(window.DOMPurify=r(5239).default||r(5239))},36894:function(e,t,r){"use strict";var n=r(58287);e.exports=n(function(e){return e.message=" ".concat(e.message),e})},6850:function(e,t,r){"use strict";var n=t.format=r(58287);t.levels=r(47371),Object.defineProperty(n,"align",{value:r(36894)}),Object.defineProperty(n,"cli",{value:r(79008)}),Object.defineProperty(n,"colorize",{value:r(52046)}),Object.defineProperty(n,"combine",{value:r(21145)}),Object.defineProperty(n,"errors",{value:r(2657)}),Object.defineProperty(n,"json",{value:r(93048)}),Object.defineProperty(n,"label",{value:r(44403)}),Object.defineProperty(n,"logstash",{value:r(49660)}),Object.defineProperty(n,"metadata",{value:r(42883)}),Object.defineProperty(n,"ms",{value:r(33584)}),Object.defineProperty(n,"padLevels",{value:r(82886)}),Object.defineProperty(n,"prettyPrint",{value:r(28703)}),Object.defineProperty(n,"printf",{value:r(82361)}),Object.defineProperty(n,"simple",{value:r(82167)}),Object.defineProperty(n,"splat",{value:r(67729)}),Object.defineProperty(n,"timestamp",{value:r(7271)}),Object.defineProperty(n,"uncolorize",{value:r(39729)})},79008:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,o,a=r(52046).Colorizer,s=r(82886).Padder,l=r(15396),u=l.configs,c=l.MESSAGE,f=(i=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),t.levels||(t.levels=u.cli.levels),this.colorizer=new a(t),this.padder=new s(t),this.options=t},o=[{key:"transform",value:function(e,t){return this.colorizer.transform(this.padder.transform(e,t),t),e[c]="".concat(e.level,":").concat(e.message),e}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i);e.exports=function(e){return new f(e)},e.exports.Format=f},52046:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}var o=r(33645),a=r(15396),s=a.LEVEL,l=a.MESSAGE;o.enabled=!0;var u=/\s+/,c=function(){var e,t;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e.colors&&this.addColors(e.colors),this.options=e}return e=[{key:"addColors",value:function(e){return r.addColors(e)}},{key:"colorize",value:function(e,t,n){if(void 0===n&&(n=t),!Array.isArray(r.allColors[e]))return o[r.allColors[e]](n);for(var i=0,a=r.allColors[e].length;i<a;i++)n=o[r.allColors[e][i]](n);return n}},{key:"transform",value:function(e,t){return t.all&&"string"==typeof e[l]&&(e[l]=this.colorize(e[s],e.level,e[l])),(t.level||t.all||!t.message)&&(e.level=this.colorize(e[s],e.level)),(t.all||t.message)&&(e.message=this.colorize(e[s],e.level,e.message)),e}}],t=[{key:"addColors",value:function(e){var t=Object.keys(e).reduce(function(t,r){return t[r]=u.test(e[r])?e[r].split(u):e[r],t},{});return r.allColors=Object.assign({},r.allColors||{},t),r.allColors}}],e&&i(r.prototype,e),t&&i(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();e.exports=function(e){return new c(e)},e.exports.Colorizer=e.exports.Format=c},21145:function(e,t,r){"use strict";var n=r(58287);function i(e){if(e.every(o))return function(t){for(var r=t,n=0;n<e.length;n++)if(!(r=e[n].transform(r,e[n].options)))return!1;return r}}function o(e){if("function"!=typeof e.transform)throw Error("No transform function found on format. Did you create a format instance?\nconst myFormat = format(formatFn);\nconst instance = myFormat();");return!0}e.exports=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=n(i(t)),a=o();return a.Format=o.Format,a},e.exports.cascade=i},2657:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,r){var i;return(i=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==n(i)?i:i+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(58287),a=r(15396),s=a.LEVEL,l=a.MESSAGE;e.exports=o(function(e,t){var r=t.stack,n=t.cause;if(e instanceof Error){var o=Object.assign({},e,i(i(i({level:e.level},s,e[s]||e.level),"message",e.message),l,e[l]||e.message));return r&&(o.stack=e.stack),n&&(o.cause=e.cause),o}if(!(e.message instanceof Error))return e;var a=e.message;return Object.assign(e,a),e.message=a.message,e[l]=a.message,r&&(e.stack=a.stack),n&&(e.cause=a.cause),e})},58287:function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){var t="function"==typeof Map?new Map:void 0;return(r=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(n())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var a=new(e.bind.apply(e,o));return r&&i(a,r.prototype),a}(e,arguments,o(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i(r,e)})(e)}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n=function(){return!!e})()}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var a=function(e){function r(e){var i,a,s;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),a=r,s=["Format functions must be synchronous taking a two arguments: (info, opts)\nFound: ".concat(e.toString().split("\n")[0],"\n")],a=o(a),Error.captureStackTrace(i=function(e,r){if(r&&("object"==t(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n()?Reflect.construct(a,s||[],o(this).constructor):a.apply(this,s)),r),i}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(r(Error));e.exports=function(e){if(e.length>2)throw new a(e);function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=e}function r(e){return new t(e)}return t.prototype.transform=e,r.Format=t,r}},93048:function(e,t,r){"use strict";var n=r(58287),i=r(15396).MESSAGE,o=r(87668);function a(e,t){return"bigint"==typeof t?t.toString():t}e.exports=n(function(e,t){var r=o.configure(t);return e[i]=r(e,t.replacer||a,t.space),e})},44403:function(e,t,r){"use strict";var n=r(58287);e.exports=n(function(e,t){return t.message?e.message="[".concat(t.label,"] ").concat(e.message):e.label=t.label,e})},47371:function(e,t,r){"use strict";var n=r(52046).Colorizer;e.exports=function(e){return n.addColors(e.colors||e),e}},49660:function(e,t,r){"use strict";var n=r(58287),i=r(15396).MESSAGE,o=r(87668);e.exports=n(function(e){var t={};return e.message&&(t["@message"]=e.message,delete e.message),e.timestamp&&(t["@timestamp"]=e.timestamp,delete e.timestamp),t["@fields"]=e,e[i]=o(t),e})},42883:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=r(58287);e.exports=i(function(e){var t,r,i,o,a,s,l,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f="metadata";c.key&&(f=c.key);var d=[];return(c.fillExcept||c.fillWith||(d.push("level"),d.push("message")),c.fillExcept&&(d=c.fillExcept),d.length>0)?(r=d,i=f,o=r.reduce(function(t,r){return t[r]=e[r],delete e[r],t},{}),a=Object.keys(e).reduce(function(t,r){return t[r]=e[r],delete e[r],t},{}),Object.assign(e,o,(s={},(t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(l=i,"string"),(l="symbol"==n(t)?t:t+"")in s)?Object.defineProperty(s,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):s[l]=a,s)),e):(c.fillWith&&(u=c.fillWith,e[f]=u.reduce(function(t,r){return t[r]=e[r],delete e[r],t},{})),e)})},33584:function(e,t,r){"use strict";var n=void 0,i=r(58287),o=r(57824);e.exports=i(function(e){var t=+new Date;return n.diff=t-(n.prevTime||t),n.prevTime=t,e.ms="+".concat(o(n.diff)),e})},82886:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}var a=r(15396),s=a.configs,l=a.LEVEL,u=a.MESSAGE,c=function(){var e,t;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{levels:s.npm.levels};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),this.paddings=r.paddingForLevels(e.levels,e.filler),this.options=e}return e=[{key:"transform",value:function(e,t){return e.message="".concat(this.paddings[e[l]]).concat(e.message),e[u]&&(e[u]="".concat(this.paddings[e[l]]).concat(e[u])),e}}],t=[{key:"getLongestLevel",value:function(e){var t=Object.keys(e).map(function(e){return e.length});return Math.max.apply(Math,function(e){if(Array.isArray(e))return i(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},{key:"paddingForLevel",value:function(e,t,r){var n=r+1-e.length,i=Math.floor(n/t.length);return"".concat(t).concat(t.repeat(i)).slice(0,n)}},{key:"paddingForLevels",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",n=r.getLongestLevel(e);return Object.keys(e).reduce(function(e,i){return e[i]=r.paddingForLevel(i,t,n),e},{})}}],e&&o(r.prototype,e),t&&o(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();e.exports=function(e){return new c(e)},e.exports.Padder=e.exports.Format=c},28703:function(e,t,r){"use strict";var n=r(89539).inspect,i=r(58287),o=r(15396),a=o.LEVEL,s=o.MESSAGE,l=o.SPLAT;e.exports=i(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e);return delete r[a],delete r[s],delete r[l],e[s]=n(r,!1,t.depth||null,t.colorize),e})},82361:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,o,a=r(15396).MESSAGE,s=(i=function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.template=t},o=[{key:"transform",value:function(e){return e[a]=this.template(e),e}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i);e.exports=function(e){return new s(e)},e.exports.Printf=e.exports.Format=s},82167:function(e,t,r){"use strict";var n=r(58287),i=r(15396).MESSAGE,o=r(87668);e.exports=n(function(e){var t=o(Object.assign({},e,{level:void 0,message:void 0,splat:void 0})),r=e.padding&&e.padding[e.level]||"";return"{}"!==t?e[i]="".concat(e.level,":").concat(r," ").concat(e.message," ").concat(t):e[i]="".concat(e.level,":").concat(r," ").concat(e.message),e})},67729:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var o,a,s=r(89539),l=r(15396).SPLAT,u=/%[scdjifoO%]/g,c=/%%/g,f=(o=function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.options=t},a=[{key:"_splat",value:function(e,t){var r=e.message,n=e[l]||e.splat||[],o=r.match(c),a=o&&o.length||0,u=t.length-a-n.length,f=u<0?n.splice(u,-1*u):[],d=f.length;if(d)for(var h=0;h<d;h++)Object.assign(e,f[h]);return e.message=s.format.apply(s,[r].concat(function(e){if(Array.isArray(e))return i(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,void 0):void 0}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),e}},{key:"transform",value:function(e){var t=e.message,r=e[l]||e.splat;if(!r||!r.length)return e;var n=t&&t.match&&t.match(u);if(!n&&(r||r.length)){var i=r.length>1?r.splice(0):r,o=i.length;if(o)for(var a=0;a<o;a++)Object.assign(e,i[a]);return e}return n?this._splat(e,n):e}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(o.prototype,a),Object.defineProperty(o,"prototype",{writable:!1}),o);e.exports=function(e){return new f(e)}},7271:function(e,t,r){"use strict";var n=r(19432),i=r(58287);e.exports=i(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.format&&(e.timestamp="function"==typeof t.format?t.format():n.format(new Date,t.format)),e.timestamp||(e.timestamp=new Date().toISOString()),t.alias&&(e[t.alias]=e.timestamp),e})},39729:function(e,t,r){"use strict";var n=r(33645),i=r(58287),o=r(15396).MESSAGE;e.exports=i(function(e,t){return!1!==t.level&&(e.level=n.strip(e.level)),!1!==t.message&&(e.message=n.strip(String(e.message))),!1!==t.raw&&e[o]&&(e[o]=n.strip(String(e[o]))),e})},79235:function(e){"use strict";class t extends Error{constructor(e){super(`Format functions must be synchronous taking a two arguments: (info, opts)
Found: ${e.toString().split("\n")[0]}
`),Error.captureStackTrace(this,t)}}e.exports=e=>{if(e.length>2)throw new t(e);function r(e={}){this.options=e}function n(e){return new r(e)}return r.prototype.transform=e,n.Format=r,n}},13922:function(e,t,r){"use strict";let n=r(79235),{MESSAGE:i}=r(15396),o=r(87668);function a(e,t){return"bigint"==typeof t?t.toString():t}e.exports=n((e,t)=>{let r=o.configure(t);return e[i]=r(e,t.replacer||a,t.space),e})},30087:function(e,t,r){"use strict";r.d(t,{x:function(){return a}});var n=r(67294),i=r(77536),o=r(68187);r(38539);let a=n.forwardRef(function(e,t){let{className:r,name:a="InBodyAd",...s}=e;return n.createElement(o.r,{ref:t,className:(0,i.Sh)("media-ui-InBodyAds_inBodyAd-mz0YfknFCIM-",{className:r}),name:a,adType:"in-body",ariaLabel:"In-article advertisement",...s})})},27606:function(e,t,r){"use strict";r.d(t,{d:function(){return m}});var n=r(67294),i=r(96701),o=r(25434),a=r(77536),s=r(83682),l=r(60006),u=r(70390),c=r(54483),f=r.n(c),d=r(73935),h=r(67917);function p(e){let{children:t}=e;return h.sk?null:(0,d.createPortal)(t,document.body)}r(33974);let m=n.forwardRef(function(e,t){let{children:r,open:c=!1,name:d="drawer",onClose:h}=e,m=(0,o.f)(d),g=(0,a.Sh)(["media-ui-Drawer_base-OMyCh7D-kpY-"],e),y=(0,n.useRef)(null),b=(0,s.H)(y,t);return n.createElement(p,null,n.createElement(i.Z,{in:c,timeout:300,mountOnEnter:!0,nodeRef:y,classNames:{enter:"media-ui-Drawer_enter-sYbklEO8tyk-",enterActive:"media-ui-Drawer_enter-active-gk4621elygM-",exit:"media-ui-Drawer_exit-oPeMhsEbL5Y-",exitActive:"media-ui-Drawer_exit-active-QrTiMyZzx1A-"},unmountOnExit:!0},n.createElement("div",{className:g,ref:b,"data-component":m},n.createElement("div",{className:"overlay"}),n.createElement(f(),{active:c,focusTrapOptions:{fallbackFocus:".main",clickOutsideDeactivates:h,escapeDeactivates:h}},n.createElement("div",{className:"main",role:"dialog","aria-labelledby":"dialog_label","aria-modal":"true"},r,n.createElement(l.h,{className:"close-button",onClick:h,title:"Close menu",size:"small"},n.createElement(u.n$,null)))))))});m.Header=function(e){let{children:t,name:r="drawer-header",...i}=e;return n.createElement("div",{className:(0,a.Sh)(["media-ui-Drawer_header-s830oNhRdZE-"],i),"data-component":(0,o.f)(r),id:"dialog-label"},t)},m.Header.displayName="Drawer.Header",m.Content=function(e){let{children:t,name:r="drawer-content",...i}=e;return n.createElement("div",{className:(0,a.Sh)(["media-ui-Drawer_content-jZzp04L7Gao-"],i),"data-component":(0,o.f)(r)},t)},m.Content.displayName="Drawer.Content",m.Button=function(e){let{children:t,name:r="drawer-button",className:i,...s}=e;return n.createElement("button",{className:(0,a.Sh)(["media-ui-Drawer_button-Yf1U53WnCsA-"],{className:i,...s}),"data-component":(0,o.f)(r),...s},t)},m.Button.displayName="Drawer.Button"},74116:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var n=r(67294),i=r(67673),o=r(25434),a=r(77536),s=r(16562);r(19740);var l={terminalTout:"media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-",background:"media-ui-TerminalTout_background-ugfAG8JrlcE-",cta:"media-ui-TerminalTout_cta-MhehFIQemMA-",icon:"media-ui-TerminalTout_icon-UNnzMeAfRHw-",centerAligned:"media-ui-TerminalTout_centerAligned-dU4kQ27OR90-",info:"media-ui-TerminalTout_info-7hWexZP6x-U-",highlight:"media-ui-TerminalTout_highlight-LKP-y7t--IQ-"};let u={en:"https://www.bloomberg.com/professional/solution/bloomberg-terminal-learn-more/?utm_source=bbg&utm_medium=intpro&utm_campaign=trmnl&utm_content=web_dotcom&tactic=794999",ja:"https://about.bloomberg.co.jp/solution/bloomberg-terminal/"},c=n.forwardRef(function(e,t){let{languageCode:r,name:c="TerminalTout",centerAligned:f=!1}=e,d=u[null!=r?r:"en"],[h]=(0,o.f)(c);return n.createElement("a",{href:d,target:"_blank",rel:"noreferrer",className:(0,a.Sh)([l.terminalTout,f&&l.centerAligned],e),ref:t,"data-component":h},n.createElement("div",{className:l.background},n.createElement("div",{className:l.info},n.createElement(s.j,{id:"media-ui-core_beforeItsHereItsOnTheBloombergTerminal",defaultMessage:"Before it’s here, it’s on the <span>Bloomberg Terminal</span>",values:{span:e=>n.createElement("span",{className:l.highlight},e)}})),n.createElement("div",{className:l.cta},n.createElement(i.oI,{className:l.icon})," ",n.createElement(s.j,{id:"media-ui-core_learnMore",defaultMessage:"LEARN MORE"}))))})},53633:function(e,t,r){"use strict";r.d(t,{P:function(){return h}});var n=r(67294),i=r(77536),o=r(33617),a=r(25434),s=r(9339),l=r(70390),u=r(58783),c=r(62299);r(98646);var f={wrapper:"media-ui-OutlinedDropdown_wrapper-jDVzlgd6BVg-","input-container":"media-ui-OutlinedDropdown_input-container--d6o57YImSo-","icon-button":"media-ui-OutlinedDropdown_icon-button-KLjKLzHAMZs-",error:"media-ui-OutlinedDropdown_error-ddrIvhkkooE-",chevron:"media-ui-OutlinedDropdown_chevron-1pMsIxL3WwY-",open:"media-ui-OutlinedDropdown_open-chpaPyMcCZw-",menu:"media-ui-OutlinedDropdown_menu-S8x6K0Uz8jw-","menu-open":"media-ui-OutlinedDropdown_menu-open-8HIWJAg-PKg-",item:"media-ui-OutlinedDropdown_item-0N0q4FaBwJA-",small:"media-ui-OutlinedDropdown_small-D1-NcdsQHrs-",empty:"media-ui-OutlinedDropdown_empty-TsBom1hnVW8-"};let d=n.forwardRef(function(e,t){let{disabled:r,label:a,name:s,options:u,placeholder:d="",noOptionsText:h="No options available",open:p,renderProps:m,selectedItem:g,setOpen:y,setSelectedItem:b,setTempValue:_,filterOptions:v,size:w,tempValue:E,inputProps:S,labelProps:k,required:x=!1,unstyled:O=!1,error:T,helperText:R,id:M}=e,{getInputProps:N,getLabelProps:P,getRootProps:C,getToggleButtonProps:j,getMenuProps:A,getItemProps:L,highlightedIndex:D,inputValue:I}=m,z=n.useMemo(()=>u.filter(e=>!!g&&((null==g?void 0:g.displayValue)===I||(null==g?void 0:g.value)===I)||!I||(e.displayValue||e.value).toLowerCase().includes(I.toLowerCase())),[p,u,I,g]),F=v?v(I):z,B={...A(),"aria-labelledby":"".concat(M,"-menu")};return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,i.Sh)([f["input-container"]],{unstyled:O}),ref:t},n.createElement(o.z,{unstyled:O,disabled:r,label:a,id:M,size:w,name:"".concat(s,"-input"),placeholder:d,value:N().value||"",required:x,error:T,helperText:R,labelProps:{...P(),...k},inputProps:{...S,autoComplete:"off","aria-labelledby":"".concat(M,"-label"),onBlur:e=>{e.persist();let{onBlur:t}=N();t&&t(e),(null==S?void 0:S.onBlur)&&S.onBlur(e)},onChange:e=>{let{onChange:t}=N();e.persist(),_(e.target.value),t&&t(e),y(!0),(null==S?void 0:S.onChange)&&S.onChange(e)},onFocus:e=>{y(!0),(null==S?void 0:S.onFocus)&&S.onFocus(e)},onKeyDown:e=>{let{onKeyDown:t}=N();t&&t(e),"Enter"===e.key&&(E||b(null)),"Escape"===e.key&&y(!1),(null==S?void 0:S.onKeyDown)&&S.onKeyDown(e)}},...C({},{suppressRefError:!0})}),n.createElement("button",{"aria-label":"Toggle Menu",type:"button",disabled:r,className:(0,i.Sh)([f["icon-button"],{[f.error]:T}],{unstyled:O}),...j(),onClick:e=>{y(e=>!e),j().onClick(e)}},n.createElement("span",{className:(0,i.Sh)([f.chevron,{[f.open]:p}],{unstyled:O})},n.createElement(l._M,null)))),n.createElement("ul",{className:(0,i.Sh)([f.menu,{[f["menu-open"]]:p,open:p,closed:!p}],e),...B},p&&0===F.length&&h&&n.createElement("li",{className:(0,i.Sh)([f.item,f.empty,{[f.small]:"small"===w}],{unstyled:O})},h),F.length>0&&F.map((e,t)=>n.createElement(c.Q,{size:w,isSelected:e.value===(null==g?void 0:g.value),isHighlighted:t===D,key:"".concat(e.value).concat(t),displayValue:e.displayValue,value:e.value,...L({item:e,index:t})}))))}),h=n.forwardRef(function(e,t){var r;let{disabled:o=!1,name:l,id:c,inputProps:h,labelProps:p,noOptionsText:m,options:g=[],onChange:y,onTextChange:b,filterOptions:_,placeholder:v="",label:w="",value:E,defaultValue:S,required:k,size:x="default",error:O,helperText:T}=e,[R,M]=n.useState(!1),N=n.useRef((0,i.Mc)()),P=c||(null==h?void 0:h.id)||l||w||N.current,[C,j]=n.useState((null===(r=E||S)||void 0===r?void 0:r.value)||""),[A,L]=n.useState(E||S||null),D=l||"OutlinedDropdown",[I]=(0,a.f)(D),z=n.useCallback(e=>{y&&y(e),L(e),j((null==e?void 0:e.value)||""),M(!1)},[y]),F=n.useCallback(e=>{(e.type===u.ZP.stateChangeTypes.clickItem||e.type===u.ZP.stateChangeTypes.mouseUp||e.type===u.ZP.stateChangeTypes.blurButton||e.type===u.ZP.stateChangeTypes.blurInput)&&M(!1)},[b]),B=n.useCallback(e=>{b&&b(e)},[b]);return n.createElement("div",{ref:t,"data-component":I,id:"select-box-".concat(w),className:(0,i.Sh)([f.wrapper],e)},n.createElement(u.ZP,{inputId:P,labelId:"".concat(P,"-label"),menuId:"".concat(P,"-menu"),onChange:z,isOpen:R,initialInputValue:(null==S?void 0:S.displayValue)||(null==S?void 0:S.value),onInputValueChange:B,inputValue:(null==E?void 0:E.displayValue)||(null==E?void 0:E.value),onStateChange:F,itemToString:function(e){return(null==e?void 0:e.displayValue)||(null==e?void 0:e.value)||""}},t=>n.createElement(d,{size:x,disabled:o,renderProps:t,name:D,label:w,id:P,placeholder:v,options:g,selectedItem:A,setSelectedItem:L,setOpen:M,open:R,noOptionsText:m,tempValue:C,setTempValue:j,filterOptions:_,unstyled:e.unstyled,inputProps:h,labelProps:p,required:k,error:O,helperText:void 0,...t.getRootProps()})),T&&n.createElement(s.p,{text:T,error:O}))})},36672:function(e,t,r){"use strict";r.d(t,{b:function(){return u}});var n=r(67294),i=r(25434),o=r(77536);r(25965);var a={sparklineContainer:"media-ui-Sparkline_sparklineContainer-nhtZf2tc8Ao-",emptySparklineContainer:"media-ui-Sparkline_emptySparklineContainer-fOe7BTjNcFA-",sparklineMarker:"media-ui-Sparkline_sparklineMarker-4guyQDKYF-M-",sparklineLine:"media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-",useThickerLine:"media-ui-Sparkline_useThickerLine-hdgpo5LX3jQ-",useThinnerLine:"media-ui-Sparkline_useThinnerLine-xqtpFPaQVXU-",sparklineFill:"media-ui-Sparkline_sparklineFill-VcOJeKIaxzA-",sparklineReference:"media-ui-Sparkline_sparklineReference-6DowYUMyQW0-",useLongerDashes:"media-ui-Sparkline_useLongerDashes-iBS8FPfAW3E-",useLighterReference:"media-ui-Sparkline_useLighterReference-yF4IdiarKn4-",positive:"media-ui-Sparkline_positive-hiNE6HIsu6Q-",negative:"media-ui-Sparkline_negative-LAkAaDKssE0-",neutral:"media-ui-Sparkline_neutral-p0RWiImweP8-",gradient:"media-ui-Sparkline_gradient-SWn9-FBx67g-"};let s=(e,t,r,n,i)=>(t-2*i)/(r-n||2)*(r===n?1:r-e),l=(e,t,r,n,i,o,a)=>{let s=e.length,l=e.slice(Math.max(0,s-(t||s))),u=2*a,c=(o-u)/(r-n||2),f=(i-u)/((t||s)-(s>1?1:0)),d=e=>r===n?1:r-e;return l.map((e,t)=>({x:t*f+a,y:d(e)*c+a}))},u=(0,n.forwardRef)(function(e,t){let{priceSet:r=[],yesterdayPrice:u,limit:c=39,width:f=240,height:d=60,margin:h=2,svgWidth:p=140,svgHeight:m=45,withGradient:g=!0,withReference:y=!0,useThickerLine:b=!1,useThinnerLine:_=!1,useLongerDashes:v=!1,useLighterReference:w=!1,removeSparkLineMarker:E=!1,useGradualFade:S=!1,name:k="Sparkline",percentChange:x}=e,O=(0,n.useMemo)(()=>Math.floor(2e7*Math.random()).toString(16),[]),[T]=(0,i.f)(k);if((null==r?void 0:r.length)===0)return n.createElement("div",{className:(0,o.Sh)([a.emptySparklineContainer],e),ref:t,"data-component":T});let R=Math.max(...r,u),M=Math.min(...r,u),N=(0,o.Mg)(void 0!==x?x:r[r.length-1]-u),P=l(r,c,R,M,f,d,h),C=P[0],j=P[P.length-1],A=P.map(e=>[e.x,e.y]).flat(),L=[-1,null==C?void 0:C.y,-1,d-h,h,d-h].concat(A,[null==j?void 0:j.x,d-h,h,d-h,h,null==C?void 0:C.y]),D=s(u,d,R,M,h),I=(0,o.Sh)([a[N],a.sparklineContainer],e),z=S?"0%":"80%",F=S?"90%":"100%";return n.createElement("div",{className:I,ref:t,"data-component":T},n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(d),preserveAspectRatio:"none",width:p,height:m},g&&n.createElement("defs",null,n.createElement("linearGradient",{id:"positive-gradient-".concat(O),x1:"0%",y1:"0%",x2:"0%",y2:"100%",className:(0,o.RD)([a.gradient,a.positive])},n.createElement("stop",{offset:z,stopColor:"currentColor",stopOpacity:"0.3"}),n.createElement("stop",{offset:F,stopColor:"currentColor",stopOpacity:"0"})),n.createElement("linearGradient",{id:"negative-gradient-".concat(O),x1:"0%",y1:"0%",x2:"0%",y2:"100%",className:(0,o.RD)([a.gradient,a.negative])},n.createElement("stop",{offset:z,stopColor:"currentColor",stopOpacity:"0.3"}),n.createElement("stop",{offset:F,stopColor:"currentColor",stopOpacity:"0"})),n.createElement("linearGradient",{id:"neutral-gradient-".concat(O),x1:"0%",y1:"0%",x2:"0%",y2:"100%",className:(0,o.RD)([a.gradient,a.neutral])},n.createElement("stop",{offset:z,stopColor:"currentColor",stopOpacity:"0.3"}),n.createElement("stop",{offset:F,stopColor:"currentColor",stopOpacity:"0"}))),y&&n.createElement("line",{className:(0,o.Sh)([a.sparklineReference,v&&a.useLongerDashes,w&&a.useLighterReference]),x1:null==C?void 0:C.x,y1:D+h,x2:f,y2:D+h}),n.createElement("g",null,g&&n.createElement("polyline",{className:a.sparklineFill,points:L.join(" "),fill:"url(#".concat(N,"-gradient-").concat(O,")")}),n.createElement("polyline",{className:(0,o.Sh)([a.sparklineLine,b&&a.useThickerLine,_&&a.useThinnerLine]),points:A.join(" ")})),!E&&n.createElement("rect",{className:a.sparklineMarker,x:((null==j?void 0:j.x)||NaN)-3,y:((null==j?void 0:j.y)||NaN)-3})))})},36993:function(e,t,r){"use strict";r.d(t,{l:function(){return f}});var n=r(67294),i=r(25434),o=r(77536),a=r(30310),s=r(64057),l=r(98279),u=r(83683),c=r(36672);r(53597);let f=n.forwardRef(function(e,t){let{name:r="SparklineCard",directionBy:f="default",unstyled:d}=e,h=(0,i.f)(r),p=(0,o.Sh)(["media-ui-SparklineCard_wrapper-NjUSqP0P-ms-"],{...e,unstyled:d,name:r});return n.createElement("div",{className:p,ref:t,"data-component":h},n.createElement(s.R,{size:"large",securityName:e.securityName,unstyled:e.unstyled}),n.createElement("div",{className:"media-ui-SparklineCard_priceChange-azquEDGqV9w-"},n.createElement(u.l,{price:e.price,currency:e.currency,unstyled:e.unstyled}),n.createElement(a.R,{variant:l.$e.refresh2024,percentChange:e.percentChange,unstyled:e.unstyled})),n.createElement(c.b,{priceSet:e.priceSet,removeSparkLineMarker:!0,yesterdayPrice:e.yesterdayPrice,withReference:!1,useThinnerLine:!0,useGradualFade:e.useGradualFade,unstyled:e.unstyled,percentChange:"percentChange"===f?e.percentChange:void 0}))})},47715:function(e,t,r){var n=r(48764).Buffer,i=r(34155);!function(){"use strict";var t={742:function(e,t,r){var o=r(491),a=r(562),s=r(450),l=r(324),u=r(320);for(var c in u)t[c]=u[c];function f(e){if("number"!=typeof e||e<t.DEFLATE||e>t.UNZIP)throw TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7,f.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?s.deflateEnd(this.strm):(this.mode===t.INFLATE||this.mode===t.GUNZIP||this.mode===t.INFLATERAW||this.mode===t.UNZIP)&&l.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null},f.prototype.write=function(e,t,r,n,i,o,a){return this._write(!0,e,t,r,n,i,o,a)},f.prototype.writeSync=function(e,t,r,n,i,o,a){return this._write(!1,e,t,r,n,i,o,a)},f.prototype._write=function(e,r,a,s,l,u,c,f){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==t.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===r,"must provide flush value"),this.write_in_progress=!0,r!==t.Z_NO_FLUSH&&r!==t.Z_PARTIAL_FLUSH&&r!==t.Z_SYNC_FLUSH&&r!==t.Z_FULL_FLUSH&&r!==t.Z_FINISH&&r!==t.Z_BLOCK)throw Error("Invalid flush value");if(null==a&&(a=n.alloc(0),l=0,s=0),this.strm.avail_in=l,this.strm.input=a,this.strm.next_in=s,this.strm.avail_out=f,this.strm.output=u,this.strm.next_out=c,this.flush=r,!e)return(this._process(),this._checkError())?this._afterSync():void 0;var d=this;return i.nextTick(function(){d._process(),d._after()}),this},f.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},f.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(31===this.strm.input[e]){if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break}else{this.mode=t.INFLATE;break}case 1:if(null===e)break;139===this.strm.input[e]?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=l.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=l.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=l.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=l.inflate(this.strm,this.flush);break;default:throw Error("Unknown mode "+this.mode)}},f.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},f.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},f.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},f.prototype.init=function(e,r,n,i,a){o(4==arguments.length||5==arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(e>=8&&e<=15,"invalid windowBits"),o(r>=-1&&r<=9,"invalid compression level"),o(n>=1&&n<=9,"invalid memlevel"),o(i===t.Z_FILTERED||i===t.Z_HUFFMAN_ONLY||i===t.Z_RLE||i===t.Z_FIXED||i===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,e,n,i,a),this._setDictionary()},f.prototype.params=function(){throw Error("deflateParams Not supported")},f.prototype.reset=function(){this._reset(),this._setDictionary()},f.prototype._init=function(e,r,n,i,o){switch(this.level=e,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,(this.mode===t.GZIP||this.mode===t.GUNZIP)&&(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),(this.mode===t.DEFLATERAW||this.mode===t.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=l.inflateInit2(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},f.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},f.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=s.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=l.inflateReset(this.strm)}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=f},23:function(e,t,r){var n=r(300).Buffer,o=r(781).Transform,a=r(742),s=r(837),l=r(491).ok,u=r(300).kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+u.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var f=Object.keys(a),d=0;d<f.length;d++){var h=f[d];h.match(/^Z/)&&Object.defineProperty(t,h,{enumerable:!0,value:a[h],writable:!1})}for(var p={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ERROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},m=Object.keys(p),g=0;g<m.length;g++){var y=m[g];p[p[y]]=y}function b(e,t,r){var i=[],o=0;function a(){for(var t;null!==(t=e.read());)i.push(t),o+=t.length;e.once("readable",a)}function s(){var t,a=null;o>=u?a=RangeError(c):t=n.concat(i,o),i=[],e.close(),r(a,t)}e.on("error",function(t){e.removeListener("end",s),e.removeListener("readable",a),r(t)}),e.on("end",s),e.end(t),a()}function _(e,t){if("string"==typeof t&&(t=n.from(t)),!n.isBuffer(t))throw TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function v(e){if(!(this instanceof v))return new v(e);R.call(this,e,a.DEFLATE)}function w(e){if(!(this instanceof w))return new w(e);R.call(this,e,a.INFLATE)}function E(e){if(!(this instanceof E))return new E(e);R.call(this,e,a.GZIP)}function S(e){if(!(this instanceof S))return new S(e);R.call(this,e,a.GUNZIP)}function k(e){if(!(this instanceof k))return new k(e);R.call(this,e,a.DEFLATERAW)}function x(e){if(!(this instanceof x))return new x(e);R.call(this,e,a.INFLATERAW)}function O(e){if(!(this instanceof O))return new O(e);R.call(this,e,a.UNZIP)}function T(e){return e===a.Z_NO_FLUSH||e===a.Z_PARTIAL_FLUSH||e===a.Z_SYNC_FLUSH||e===a.Z_FULL_FLUSH||e===a.Z_FINISH||e===a.Z_BLOCK}function R(e,r){var i=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,o.call(this,e),e.flush&&!T(e.flush))throw Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!T(e.finishFlush))throw Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==e.finishFlush?e.finishFlush:a.Z_FINISH,e.chunkSize&&(e.chunkSize<t.Z_MIN_CHUNK||e.chunkSize>t.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<t.Z_MIN_WINDOWBITS||e.windowBits>t.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<t.Z_MIN_LEVEL||e.level>t.Z_MAX_LEVEL))throw Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<t.Z_MIN_MEMLEVEL||e.memLevel>t.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(e,r){M(s),s._hadError=!0;var n=Error(e);n.errno=r,n.code=t.codes[r],s.emit("error",n)};var l=t.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(l=e.level);var u=t.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(u=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,l,e.memLevel||t.Z_DEFAULT_MEMLEVEL,u,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=u,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!i._handle},configurable:!0,enumerable:!0})}function M(e,t){t&&i.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function N(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),t.Deflate=v,t.Inflate=w,t.Gzip=E,t.Gunzip=S,t.DeflateRaw=k,t.InflateRaw=x,t.Unzip=O,t.createDeflate=function(e){return new v(e)},t.createInflate=function(e){return new w(e)},t.createDeflateRaw=function(e){return new k(e)},t.createInflateRaw=function(e){return new x(e)},t.createGzip=function(e){return new E(e)},t.createGunzip=function(e){return new S(e)},t.createUnzip=function(e){return new O(e)},t.deflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new v(t),e,r)},t.deflateSync=function(e,t){return _(new v(t),e)},t.gzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new E(t),e,r)},t.gzipSync=function(e,t){return _(new E(t),e)},t.deflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new k(t),e,r)},t.deflateRawSync=function(e,t){return _(new k(t),e)},t.unzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new O(t),e,r)},t.unzipSync=function(e,t){return _(new O(t),e)},t.inflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new w(t),e,r)},t.inflateSync=function(e,t){return _(new w(t),e)},t.gunzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new S(t),e,r)},t.gunzipSync=function(e,t){return _(new S(t),e)},t.inflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new x(t),e,r)},t.inflateRawSync=function(e,t){return _(new x(t),e)},s.inherits(R,o),R.prototype.params=function(e,r,n){if(e<t.Z_MIN_LEVEL||e>t.Z_MAX_LEVEL)throw RangeError("Invalid compression level: "+e);if(r!=t.Z_FILTERED&&r!=t.Z_HUFFMAN_ONLY&&r!=t.Z_RLE&&r!=t.Z_FIXED&&r!=t.Z_DEFAULT_STRATEGY)throw TypeError("Invalid strategy: "+r);if(this._level!==e||this._strategy!==r){var o=this;this.flush(a.Z_SYNC_FLUSH,function(){l(o._handle,"zlib binding closed"),o._handle.params(e,r),!o._hadError&&(o._level=e,o._strategy=r,n&&n())})}else i.nextTick(n)},R.prototype.reset=function(){return l(this._handle,"zlib binding closed"),this._handle.reset()},R.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},R.prototype.flush=function(e,t){var r=this,o=this._writableState;"function"!=typeof e&&(void 0!==e||t)||(t=e,e=a.Z_FULL_FLUSH),o.ended?t&&i.nextTick(t):o.ending?t&&this.once("end",t):o.needDrain?t&&this.once("drain",function(){return r.flush(e,t)}):(this._flushFlag=e,this.write(n.alloc(0),"",t))},R.prototype.close=function(e){M(this,e),i.nextTick(N,this)},R.prototype._transform=function(e,t,r){var i,o=this._writableState,s=(o.ending||o.ended)&&(!e||o.length===e.length);return null===e||n.isBuffer(e)?this._handle?void(s?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),this._processChunk(e,i,r)):r(Error("zlib binding closed")):r(Error("invalid input"))},R.prototype._processChunk=function(e,t,r){var i=e&&e.length,o=this._chunkSize-this._offset,a=0,s=this,f="function"==typeof r;if(!f){var d,h=[],p=0;this.on("error",function(e){d=e}),l(this._handle,"zlib binding closed");do var m=this._handle.writeSync(t,e,a,i,this._buffer,this._offset,o);while(!this._hadError&&b(m[0],m[1]));if(this._hadError)throw d;if(p>=u)throw M(this),RangeError(c);var g=n.concat(h,p);return M(this),g}l(this._handle,"zlib binding closed");var y=this._handle.write(t,e,a,i,this._buffer,this._offset,o);function b(u,c){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var d=o-c;if(l(d>=0,"have should not go down"),d>0){var m=s._buffer.slice(s._offset,s._offset+d);s._offset+=d,f?s.push(m):(h.push(m),p+=m.length)}if((0===c||s._offset>=s._chunkSize)&&(o=s._chunkSize,s._offset=0,s._buffer=n.allocUnsafe(s._chunkSize)),0===c){if(a+=i-u,i=u,!f)return!0;var g=s._handle.write(t,e,a,i,s._buffer,s._offset,s._chunkSize);return g.callback=b,void(g.buffer=e)}if(!f)return!1;r()}}y.buffer=e,y.callback=b},s.inherits(v,R),s.inherits(w,R),s.inherits(E,R),s.inherits(S,R),s.inherits(k,R),s.inherits(x,R),s.inherits(O,R)},380:function(e,t){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+n),i);return}for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){var t,r,n,i,o,a;for(t=0,n=0,r=e.length;t<r;t++)n+=e[t].length;for(t=0,a=new Uint8Array(n),i=0,r=e.length;t<r;t++)o=e[t],a.set(o,i),i+=o.length;return a}},i={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,i))},t.setTyped(r)},496:function(e){e.exports=function(e,t,r,n){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==r;){a=r>2e3?2e3:r,r-=a;do o=o+(i=i+t[n++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16|0}},320:function(e){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},307:function(e){var t=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,r,n,i){var o=i+n;e^=-1;for(var a=i;a<o;a++)e=e>>>8^t[(e^r[a])&255];return -1^e}},450:function(e,t,r){var n,i=r(380),o=r(842),a=r(496),s=r(307),l=r(31);function u(e,t){return e.msg=l[t],t}function c(e){return(e<<1)-(e>4?9:0)}function f(e){for(var t=e.length;--t>=0;)e[t]=0}function d(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function h(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,d(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function m(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function g(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,f=e.prev,d=e.strstart+258,h=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+a]!==p||u[r+a-1]!==h||u[r]!==u[o]||u[++r]!==u[o+1])continue;o+=2,r++;do;while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<d);if(n=258-(d-o),o=d-258,n>a){if(e.match_start=t,a=n,n>=s)break;h=u[o+a-1],p=u[o+a]}}while((t=f[t&c])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function y(e){var t,r,n,o,l,u=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-262)){i.arraySet(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=r=e.hash_size;do n=e.head[--t],e.head[t]=n>=u?n-u:0;while(--r);t=r=u;do n=e.prev[--t],e.prev[t]=n>=u?n-u:0;while(--r);o+=u}if(0===e.strm.avail_in)break;if(r=function(e,t,r,n){var o=e.avail_in;return(o>n&&(o=n),0===o)?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,r),1===e.state.wrap?e.adler=a(e.adler,t,o,r):2===e.state.wrap&&(e.adler=s(e.adler,t,o,r)),e.next_in+=o,e.total_in+=o,o)}(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=r,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function b(e,t){for(var r,n;;){if(e.lookahead<262){if(y(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-262&&(e.match_length=g(e,r)),e.match_length>=3){if(n=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask}else n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=e.strstart<2?e.strstart:2,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}function _(e,t){for(var r,n,i;;){if(e.lookahead<262){if(y(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-262&&(e.match_length=g(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(h(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=o._tr_tally(e,0,e.window[e.strstart-1]))&&h(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return(e.match_available&&(n=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}function v(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function E(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):u(e,-2)}function S(e){var t,r=E(e);return 0===r&&((t=e.state).window_size=2*t.w_size,f(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function k(e,t,r,n,o,a){if(!e)return -2;var s=1;if(-1===t&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),o<1||o>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return u(e,-2);8===n&&(n=9);var l=new w;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=r,S(e)}n=[new v(0,0,0,0,function(e,t){var r=65535;for(65535>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,h(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:(e.strstart>e.block_start&&(h(e,!1),e.strm.avail_out),1)}),new v(4,4,8,4,b),new v(4,5,16,8,b),new v(4,6,32,32,b),new v(4,4,16,16,_),new v(8,16,32,32,_),new v(8,16,128,128,_),new v(8,32,128,256,_),new v(32,128,258,1024,_),new v(32,258,258,4096,_)],t.deflateInit=function(e,t){return k(e,t,8,15,8,0)},t.deflateInit2=k,t.deflateReset=S,t.deflateResetKeep=E,t.deflateSetHeader=function(e,t){return e&&e.state&&2===e.state.wrap?(e.state.gzhead=t,0):-2},t.deflate=function(e,t){if(!e||!e.state||t>5||t<0)return e?u(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return u(e,0===e.avail_out?-5:-2);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status){if(2===i.wrap)e.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var r,i,a,l,g=8+(i.w_bits-8<<4)<<8;g|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(g|=32),g+=31-g%31,i.status=113,m(i,g),0!==i.strstart&&(m(i,e.adler>>>16),m(i,65535&e.adler)),e.adler=1}}if(69===i.status){if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73}if(73===i.status){if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91}if(91===i.status){if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103}if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&d(e),i.pending+2<=i.pending_buf_size&&(p(i,255&e.adler),p(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(d(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&c(t)<=c(r)&&4!==t)return u(e,-5);if(666===i.status&&0!==e.avail_in)return u(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var b=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,s=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=e.strstart+258;do;while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);e.match_length=258-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if((3===b||4===b)&&(i.status=666),1===b||3===b)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===b&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(f(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),d(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&e.adler),p(i,e.adler>>8&255),p(i,e.adler>>16&255),p(i,e.adler>>24&255),p(i,255&e.total_in),p(i,e.total_in>>8&255),p(i,e.total_in>>16&255),p(i,e.total_in>>24&255)):(m(i,e.adler>>>16),m(i,65535&e.adler)),d(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?u(e,-2):(e.state=null,113===t?u(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var r,n,o,s,l,u,c,d,h=t.length;if(!e||!e.state||2===(s=(r=e.state).wrap)||1===s&&42!==r.status||r.lookahead)return -2;for(1===s&&(e.adler=a(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===s&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new i.Buf8(r.w_size),i.arraySet(d,t,h-r.w_size,r.w_size,0),t=d,h=r.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,y(r);r.lookahead>=3;){n=r.strstart,o=r.lookahead-2;do r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++;while(--o);r.strstart=n,r.lookahead=2,y(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,r.wrap=s,0},t.deflateInfo="pako deflate (from Nodeca project)"},333:function(e){e.exports=function(e,t){var r,n,i,o,a,s,l,u,c,f,d,h,p,m,g,y,b,_,v,w,E,S,k,x,O;r=e.state,n=e.next_in,x=e.input,i=n+(e.avail_in-5),o=e.next_out,O=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,f=r.wnext,d=r.window,h=r.hold,p=r.bits,m=r.lencode,g=r.distcode,y=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do for(p<15&&(h+=x[n++]<<p,p+=8,h+=x[n++]<<p,p+=8),_=m[h&y];;){if(h>>>=v=_>>>24,p-=v,0==(v=_>>>16&255))O[o++]=65535&_;else if(16&v)for(w=65535&_,(v&=15)&&(p<v&&(h+=x[n++]<<p,p+=8),w+=h&(1<<v)-1,h>>>=v,p-=v),p<15&&(h+=x[n++]<<p,p+=8,h+=x[n++]<<p,p+=8),_=g[h&b];;){if(h>>>=v=_>>>24,p-=v,16&(v=_>>>16&255)){if(E=65535&_,p<(v&=15)&&(h+=x[n++]<<p,(p+=8)<v&&(h+=x[n++]<<p,p+=8)),(E+=h&(1<<v)-1)>l){e.msg="invalid distance too far back",r.mode=30;break e}if(h>>>=v,p-=v,E>(v=o-a)){if((v=E-v)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,k=d,0===f){if(S+=u-v,v<w){w-=v;do O[o++]=d[S++];while(--v);S=o-E,k=O}}else if(f<v){if(S+=u+f-v,(v-=f)<w){w-=v;do O[o++]=d[S++];while(--v);if(S=0,f<w){w-=v=f;do O[o++]=d[S++];while(--v);S=o-E,k=O}}}else if(S+=f-v,v<w){w-=v;do O[o++]=d[S++];while(--v);S=o-E,k=O}for(;w>2;)O[o++]=k[S++],O[o++]=k[S++],O[o++]=k[S++],w-=3;w&&(O[o++]=k[S++],w>1&&(O[o++]=k[S++]))}else{S=o-E;do O[o++]=O[S++],O[o++]=O[S++],O[o++]=O[S++],w-=3;while(w>2);w&&(O[o++]=O[S++],w>1&&(O[o++]=O[S++]))}}else if((64&v)==0){_=g[(65535&_)+(h&(1<<v)-1)];continue}else{e.msg="invalid distance code",r.mode=30;break e}break}else if((64&v)==0){_=m[(65535&_)+(h&(1<<v)-1)];continue}else if(32&v){r.mode=12;break e}else{e.msg="invalid literal/length code",r.mode=30;break e}break}while(n<i&&o<s);n-=w=p>>3,p-=w<<3,h&=(1<<p)-1,e.next_in=n,e.next_out=o,e.avail_in=n<i?5+(i-n):5-(n-i),e.avail_out=o<s?257+(s-o):257-(o-s),r.hold=h,r.bits=p}},324:function(e,t,r){var n,i,o=r(380),a=r(496),s=r(307),l=r(333),u=r(19);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new o.Buf32(852),t.distcode=t.distdyn=new o.Buf32(592),t.sane=1,t.back=-1,0):-2}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):-2}function p(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,h(e)):-2}function m(e,t){var r,n;return e?(n=new f,e.state=n,n.window=null,0!==(r=p(e,t))&&(e.state=null),r):-2}var g=!0;function y(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new o.Buf8(a.wsize)),n>=a.wsize?(o.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),o.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(o.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}t.inflateReset=h,t.inflateReset2=p,t.inflateResetKeep=d,t.inflateInit=function(e){return m(e,15)},t.inflateInit2=m,t.inflate=function(e,t){var r,f,d,h,p,m,b,_,v,w,E,S,k,x,O,T,R,M,N,P,C,j,A,L,D=0,I=new o.Buf8(4),z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return -2;12===(r=e.state).mode&&(r.mode=13),p=e.next_out,d=e.output,b=e.avail_out,h=e.next_in,f=e.input,m=e.avail_in,_=r.hold,v=r.bits,w=m,E=b,j=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;v<16;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(2&r.wrap&&35615===_){r.check=0,I[0]=255&_,I[1]=_>>>8&255,r.check=s(r.check,I,2,0),_=0,v=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&_)<<8)+(_>>8))%31){e.msg="incorrect header check",r.mode=30;break}if((15&_)!=8){e.msg="unknown compression method",r.mode=30;break}if(_>>>=4,v-=4,C=(15&_)+8,0===r.wbits)r.wbits=C;else if(C>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<C,e.adler=r.check=1,r.mode=512&_?10:12,_=0,v=0;break;case 2:for(;v<16;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(r.flags=_,(255&r.flags)!=8){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=_>>8&1),512&r.flags&&(I[0]=255&_,I[1]=_>>>8&255,r.check=s(r.check,I,2,0)),_=0,v=0,r.mode=3;case 3:for(;v<32;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}r.head&&(r.head.time=_),512&r.flags&&(I[0]=255&_,I[1]=_>>>8&255,I[2]=_>>>16&255,I[3]=_>>>24&255,r.check=s(r.check,I,4,0)),_=0,v=0,r.mode=4;case 4:for(;v<16;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}r.head&&(r.head.xflags=255&_,r.head.os=_>>8),512&r.flags&&(I[0]=255&_,I[1]=_>>>8&255,r.check=s(r.check,I,2,0)),_=0,v=0,r.mode=5;case 5:if(1024&r.flags){for(;v<16;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}r.length=_,r.head&&(r.head.extra_len=_),512&r.flags&&(I[0]=255&_,I[1]=_>>>8&255,r.check=s(r.check,I,2,0)),_=0,v=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>m&&(S=m),S&&(r.head&&(C=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),o.arraySet(r.head.extra,f,h,S,C)),512&r.flags&&(r.check=s(r.check,f,S,h)),m-=S,h+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===m)break e;S=0;do C=f[h+S++],r.head&&C&&r.length<65536&&(r.head.name+=String.fromCharCode(C));while(C&&S<m);if(512&r.flags&&(r.check=s(r.check,f,S,h)),m-=S,h+=S,C)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===m)break e;S=0;do C=f[h+S++],r.head&&C&&r.length<65536&&(r.head.comment+=String.fromCharCode(C));while(C&&S<m);if(512&r.flags&&(r.check=s(r.check,f,S,h)),m-=S,h+=S,C)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;v<16;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(_!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}_=0,v=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;v<32;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}e.adler=r.check=c(_),_=0,v=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=p,e.avail_out=b,e.next_in=h,e.avail_in=m,r.hold=_,r.bits=v,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){_>>>=7&v,v-=7&v,r.mode=27;break}for(;v<3;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}switch(r.last=1&_,v-=1,3&(_>>>=1)){case 0:r.mode=14;break;case 1:if(function(e){if(g){var t;for(n=new o.Buf32(512),i=new o.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(u(1,e.lens,0,288,n,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;u(2,e.lens,0,32,i,0,e.work,{bits:5}),g=!1}e.lencode=n,e.lenbits=9,e.distcode=i,e.distbits=5}(r),r.mode=20,6===t){_>>>=2,v-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}_>>>=2,v-=2;break;case 14:for(_>>>=7&v,v-=7&v;v<32;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if((65535&_)!=(_>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&_,_=0,v=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(S=r.length){if(S>m&&(S=m),S>b&&(S=b),0===S)break e;o.arraySet(d,f,h,S,p),m-=S,h+=S,b-=S,p+=S,r.length-=S;break}r.mode=12;break;case 17:for(;v<14;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(r.nlen=(31&_)+257,_>>>=5,v-=5,r.ndist=(31&_)+1,_>>>=5,v-=5,r.ncode=(15&_)+4,_>>>=4,v-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;v<3;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}r.lens[z[r.have++]]=7&_,_>>>=3,v-=3}for(;r.have<19;)r.lens[z[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},j=u(0,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,j){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;O=(D=r.lencode[_&(1<<r.lenbits)-1])>>>24,T=D>>>16&255,R=65535&D,!(O<=v);){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(R<16)_>>>=O,v-=O,r.lens[r.have++]=R;else{if(16===R){for(L=O+2;v<L;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(_>>>=O,v-=O,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}C=r.lens[r.have-1],S=3+(3&_),_>>>=2,v-=2}else if(17===R){for(L=O+3;v<L;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}_>>>=O,v-=O,C=0,S=3+(7&_),_>>>=3,v-=3}else{for(L=O+7;v<L;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}_>>>=O,v-=O,C=0,S=11+(127&_),_>>>=7,v-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=C}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,A={bits:r.lenbits},j=u(1,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,j){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},j=u(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,j){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(m>=6&&b>=258){e.next_out=p,e.avail_out=b,e.next_in=h,e.avail_in=m,r.hold=_,r.bits=v,l(e,E),p=e.next_out,d=e.output,b=e.avail_out,h=e.next_in,f=e.input,m=e.avail_in,_=r.hold,v=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;O=(D=r.lencode[_&(1<<r.lenbits)-1])>>>24,T=D>>>16&255,R=65535&D,!(O<=v);){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(T&&(240&T)==0){for(M=O,N=T,P=R;O=(D=r.lencode[P+((_&(1<<M+N)-1)>>M)])>>>24,T=D>>>16&255,R=65535&D,!(M+O<=v);){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}_>>>=M,v-=M,r.back+=M}if(_>>>=O,v-=O,r.back+=O,r.length=R,0===T){r.mode=26;break}if(32&T){r.back=-1,r.mode=12;break}if(64&T){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&T,r.mode=22;case 22:if(r.extra){for(L=r.extra;v<L;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}r.length+=_&(1<<r.extra)-1,_>>>=r.extra,v-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;O=(D=r.distcode[_&(1<<r.distbits)-1])>>>24,T=D>>>16&255,R=65535&D,!(O<=v);){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if((240&T)==0){for(M=O,N=T,P=R;O=(D=r.distcode[P+((_&(1<<M+N)-1)>>M)])>>>24,T=D>>>16&255,R=65535&D,!(M+O<=v);){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}_>>>=M,v-=M,r.back+=M}if(_>>>=O,v-=O,r.back+=O,64&T){e.msg="invalid distance code",r.mode=30;break}r.offset=R,r.extra=15&T,r.mode=24;case 24:if(r.extra){for(L=r.extra;v<L;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}r.offset+=_&(1<<r.extra)-1,_>>>=r.extra,v-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===b)break e;if(S=E-b,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}S>r.wnext?(S-=r.wnext,k=r.wsize-S):k=r.wnext-S,S>r.length&&(S=r.length),x=r.window}else x=d,k=p-r.offset,S=r.length;S>b&&(S=b),b-=S,r.length-=S;do d[p++]=x[k++];while(--S);0===r.length&&(r.mode=21);break;case 26:if(0===b)break e;d[p++]=r.length,b--,r.mode=21;break;case 27:if(r.wrap){for(;v<32;){if(0===m)break e;m--,_|=f[h++]<<v,v+=8}if(E-=b,e.total_out+=E,r.total+=E,E&&(e.adler=r.check=r.flags?s(r.check,d,E,p-E):a(r.check,d,E,p-E)),E=b,(r.flags?_:c(_))!==r.check){e.msg="incorrect data check",r.mode=30;break}_=0,v=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;v<32;){if(0===m)break e;m--,_+=f[h++]<<v,v+=8}if(_!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}_=0,v=0}r.mode=29;case 29:j=1;break e;case 30:j=-3;break e;case 31:return -4;default:return -2}return(e.next_out=p,e.avail_out=b,e.next_in=h,e.avail_in=m,r.hold=_,r.bits=v,(r.wsize||E!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&y(e,e.output,e.next_out,E-e.avail_out))?(r.mode=31,-4):(w-=e.avail_in,E-=e.avail_out,e.total_in+=w,e.total_out+=E,r.total+=E,r.wrap&&E&&(e.adler=r.check=r.flags?s(r.check,d,E,e.next_out-E):a(r.check,d,E,e.next_out-E)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===w&&0===E||4===t)&&0===j&&(j=-5),j)},t.inflateEnd=function(e){if(!e||!e.state)return -2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},t.inflateGetHeader=function(e,t){var r;return e&&e.state&&(2&(r=e.state).wrap)!=0?(r.head=t,t.done=!1,0):-2},t.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state&&(0===(r=e.state).wrap||11===r.mode)?11===r.mode&&a(1,t,n,0)!==r.check?-3:y(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},t.inflateInfo="pako inflate (from Nodeca project)"},19:function(e,t,r){var n=r(380),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,r,l,u,c,f,d){var h,p,m,g,y,b,_,v,w,E=d.bits,S=0,k=0,x=0,O=0,T=0,R=0,M=0,N=0,P=0,C=0,j=null,A=0,L=new n.Buf16(16),D=new n.Buf16(16),I=null,z=0;for(S=0;S<=15;S++)L[S]=0;for(k=0;k<l;k++)L[t[r+k]]++;for(O=15,T=E;O>=1&&0===L[O];O--);if(T>O&&(T=O),0===O)return u[c++]=20971520,u[c++]=20971520,d.bits=1,0;for(x=1;x<O&&0===L[x];x++);for(T<x&&(T=x),N=1,S=1;S<=15;S++)if(N<<=1,(N-=L[S])<0)return -1;if(N>0&&(0===e||1!==O))return -1;for(S=1,D[1]=0;S<15;S++)D[S+1]=D[S]+L[S];for(k=0;k<l;k++)0!==t[r+k]&&(f[D[t[r+k]]++]=k);if(0===e?(j=I=f,b=19):1===e?(j=i,A-=257,I=o,z-=257,b=256):(j=a,I=s,b=-1),C=0,k=0,S=x,y=c,R=T,M=0,m=-1,g=(P=1<<T)-1,1===e&&P>852||2===e&&P>592)return 1;for(;;){_=S-M,f[k]<b?(v=0,w=f[k]):f[k]>b?(v=I[z+f[k]],w=j[A+f[k]]):(v=96,w=0),h=1<<S-M,x=p=1<<R;do u[y+(C>>M)+(p-=h)]=_<<24|v<<16|w|0;while(0!==p);for(h=1<<S-1;C&h;)h>>=1;if(0!==h?(C&=h-1,C+=h):C=0,k++,0==--L[S]){if(S===O)break;S=t[r+f[k]]}if(S>T&&(C&g)!==m){for(0===M&&(M=T),y+=x,N=1<<(R=S-M);R+M<O&&!((N-=L[R+M])<=0);)R++,N<<=1;if(P+=1<<R,1===e&&P>852||2===e&&P>592)return 1;u[m=C&g]=T<<24|R<<16|y-c|0}}return 0!==C&&(u[y+C]=S-M<<24|4194304),d.bits=T,0}},31:function(e){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},842:function(e,t,r){var n,i,o,a=r(380);function s(e){for(var t=e.length;--t>=0;)e[t]=0}var l=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],u=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=Array(576);s(d);var h=Array(60);s(h);var p=Array(512);s(p);var m=Array(256);s(m);var g=Array(29);s(g);var y=Array(30);function b(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function _(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function v(e){return e<256?p[e]:p[256+(e>>>7)]}function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function E(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,w(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function S(e,t,r){E(e,r[2*t],r[2*t+1])}function k(e,t){var r=0;do r|=1&e,e>>>=1,r<<=1;while(--t>0);return r>>>1}function x(e,t,r){var n,i,o=Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=k(o[s]++,s))}}function O(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function T(e){e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function R(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function M(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&R(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!R(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function N(e,t,r){var n,i,o,a,s=0;if(0!==e.last_lit)do n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?S(e,i,t):(S(e,(o=m[i])+256+1,t),0!==(a=l[o])&&E(e,i-=g[o],a),S(e,o=v(--n),r),0!==(a=u[o])&&E(e,n-=y[o],a));while(s<e.last_lit);S(e,256,t)}function P(e,t){var r,n,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(r=0,e.heap_len=0,e.heap_max=573;r<l;r++)0!==o[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;r>=1;r--)M(e,o,r);i=l;do r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],M(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,M(e,o,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(o=l[2*l[2*(n=e.heap[r])+1]+1]+1)>p&&(o=p,m++),l[2*n+1]=o,!(n>u)&&(e.bl_count[o]++,a=0,n>=h&&(a=d[n-h]),s=l[2*n],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(c[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=e.bl_count[o];0!==n;)!((i=e.heap[--r])>u)&&(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),n--)}}(e,t),x(o,u,e.bl_count)}function C(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)i=a,a=t[(n+1)*2+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function j(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),n=0;n<=r;n++)if(i=a,a=t[(n+1)*2+1],!(++s<l)||i!==a){if(s<u)do S(e,i,e.bl_tree);while(0!=--s);else 0!==i?(i!==o&&(S(e,i,e.bl_tree),s--),S(e,16,e.bl_tree),E(e,s-3,2)):s<=10?(S(e,17,e.bl_tree),E(e,s-3,3)):(S(e,18,e.bl_tree),E(e,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}s(y);var A=!1;function L(e,t,r,n){E(e,0+(n?1:0),3),T(e),w(e,r),w(e,~r),a.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}t._tr_init=function(e){A||(function(){var e,t,r,a,s,f=Array(16);for(a=0,r=0;a<28;a++)for(e=0,g[a]=r;e<1<<l[a];e++)m[r++]=a;for(m[r-1]=a,s=0,a=0;a<16;a++)for(e=0,y[a]=s;e<1<<u[a];e++)p[s++]=a;for(s>>=7;a<30;a++)for(e=0,y[a]=s<<7;e<1<<u[a]-7;e++)p[256+s++]=a;for(t=0;t<=15;t++)f[t]=0;for(e=0;e<=143;)d[2*e+1]=8,e++,f[8]++;for(;e<=255;)d[2*e+1]=9,e++,f[9]++;for(;e<=279;)d[2*e+1]=7,e++,f[7]++;for(;e<=287;)d[2*e+1]=8,e++,f[8]++;for(x(d,287,f),e=0;e<30;e++)h[2*e+1]=5,h[2*e]=k(e,5);n=new b(d,l,257,286,15),i=new b(h,u,0,30,15),o=new b([],c,0,19,7)}(),A=!0),e.l_desc=new _(e.dyn_ltree,n),e.d_desc=new _(e.dyn_dtree,i),e.bl_desc=new _(e.bl_tree,o),e.bi_buf=0,e.bi_valid=0,O(e)},t._tr_stored_block=L,t._tr_flush_block=function(e,t,r,n){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),P(e,e.l_desc),P(e,e.d_desc),a=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),P(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*f[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?L(e,t,r,n):4===e.strategy||o===i?(E(e,2+(n?1:0),3),N(e,d,h)):(E(e,4+(n?1:0),3),function(e,t,r,n){var i;for(E(e,t-257,5),E(e,r-1,5),E(e,n-4,4),i=0;i<n;i++)E(e,e.bl_tree[2*f[i]+1],3);j(e,e.dyn_ltree,t-1),j(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),N(e,e.dyn_ltree,e.dyn_dtree)),O(e),n&&T(e)},t._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[(m[r]+256+1)*2]++,e.dyn_dtree[2*v(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){E(e,2,3),S(e,256,d),16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},562:function(e){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},491:function(e){e.exports=r(69282)},300:function(e){e.exports=r(48764)},781:function(e){e.exports=r(79681)},837:function(e){e.exports=r(89539)}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}},i=!0;try{t[e](n,n.exports,a),i=!1}finally{i&&delete o[e]}return n.exports}a.ab="//";var s=a(23);e.exports=s}()},10777:function(){},23270:function(){},55865:function(){},72388:function(){},37261:function(){},93289:function(){},73997:function(){},25576:function(){},35683:function(){},18011:function(){},54743:function(){},91763:function(){},16205:function(){},63610:function(){},51075:function(){},73699:function(){},64707:function(){},91489:function(){},91091:function(){},38539:function(){},33974:function(){},19740:function(){},98646:function(){},25965:function(){},53597:function(){},74943:function(e){e.exports={core:"typography_core___PiUD",coreHeadline:"typography_coreHeadline__iR1us",coreHeadlineLg:"typography_coreHeadlineLg__4pD50 typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineMd:"typography_coreHeadlineMd__VL3H_ typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineSm:"typography_coreHeadlineSm__9qq05 typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineXl:"typography_coreHeadlineXl__7GZ3g typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineXs:"typography_coreHeadlineXs__1HRyf typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineXxs:"typography_coreHeadlineXxs__15mdH typography_core___PiUD typography_coreHeadline__iR1us",coreShortText:"typography_coreShortText__1G9y1",coreShortTextMd:"typography_coreShortTextMd__gVP5F typography_core___PiUD typography_coreShortText__1G9y1",coreShortTextSm:"typography_coreShortTextSm__wawsT typography_core___PiUD typography_coreShortText__1G9y1",coreShortTextXs:"typography_coreShortTextXs__L4gUR typography_core___PiUD typography_coreShortText__1G9y1",coreShortTextXxs:"typography_coreShortTextXxs__b8YXl typography_core___PiUD typography_coreShortText__1G9y1",coreParagraph:"typography_coreParagraph__P_KwK",coreParagraphMd:"typography_coreParagraphMd__QOyPx typography_core___PiUD typography_coreParagraph__P_KwK",coreParagraphSm:"typography_coreParagraphSm__8_os_ typography_core___PiUD typography_coreParagraph__P_KwK",coreParagraphXs:"typography_coreParagraphXs__fpk8d typography_core___PiUD typography_coreParagraph__P_KwK",coreParagraphXxs:"typography_coreParagraphXxs__wcE7E typography_core___PiUD typography_coreParagraph__P_KwK",articleHeadline:"typography_articleHeadline__rSLf2",articleHeadlineLg:"typography_articleHeadlineLg__J4FhV typography_articleHeadline__rSLf2",articleHeadlineMd:"typography_articleHeadlineMd__6_Fnp typography_articleHeadline__rSLf2",articleHeadlineSm:"typography_articleHeadlineSm__VYjpe typography_articleHeadline__rSLf2",articleHeadlineXl:"typography_articleHeadlineXl__THpmD typography_articleHeadline__rSLf2",articleHeadlineXs:"typography_articleHeadlineXs__3r4_I typography_articleHeadline__rSLf2",articleHeadlineXxl:"typography_articleHeadlineXxl__lx2bS typography_articleHeadline__rSLf2",articleDek:"typography_articleDek__KFY65",articleBody:"typography_articleBody__3UcBa",articleLabelBase:"typography_articleLabelBase__Yv37a",articleLabel:"typography_articleLabel__tmNTX typography_articleLabelBase__Yv37a",articleLabelCaps:"typography_articleLabelCaps__IQAHl typography_articleLabelBase__Yv37a",articleLabelMd:"typography_articleLabelMd__CU6xM typography_articleLabelBase__Yv37a",articleLabelCapsMd:"typography_articleLabelCapsMd__aL6TQ typography_articleLabelCaps__IQAHl typography_articleLabelBase__Yv37a typography_articleLabelMd__CU6xM typography_articleLabelBase__Yv37a"}},73461:function(e){var t;"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),(t={}).endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"},e.exports=t},33138:function(e,t,r){"use strict";var n=r(32296);e.exports=function(e){var t,r=0;function i(){return r||(r=1,t=e.apply(this,arguments),e=null),t}return i.displayName=n(e),i}},94281:function(e){"use strict";var t={};function r(e,r,n){n||(n=Error);var i=function(e){function t(t,n,i){return e.call(this,"string"==typeof r?r:r(t,n,i))||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(n);i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(l="must not be",t=t.replace(/^not /,"")):l="must be",o=" argument",(void 0===a||a>e.length)&&(a=e.length),e.substring(a-o.length,a)===o)u="The ".concat(e," ").concat(l," ").concat(n(t,"type"));else{var i,o,a,s,l,u,c=("number"!=typeof s&&(s=0),s+1>e.length||-1===e.indexOf(".",s))?"argument":"property";u='The "'.concat(e,'" ').concat(c," ").concat(l," ").concat(n(t,"type"))}return u+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},56753:function(e,t,r){"use strict";var n=r(34155),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(79481),a=r(64229);r(35717)(c,o);for(var s=i(a.prototype),l=0;l<s.length;l++){var u=s[l];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},82725:function(e,t,r){"use strict";e.exports=i;var n=r(74605);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(35717)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},79481:function(e,t,r){"use strict";var n,i,o,a,s,l=r(34155);e.exports=x,x.ReadableState=k,r(17187).EventEmitter;var u=function(e,t){return e.listeners(t).length},c=r(22503),f=r(48764).Buffer,d=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},h=r(94616);i=h&&h.debuglog?h.debuglog("stream"):function(){};var p=r(57327),m=r(61195),g=r(82457).getHighWaterMark,y=r(94281).q,b=y.ERR_INVALID_ARG_TYPE,_=y.ERR_STREAM_PUSH_AFTER_EOF,v=y.ERR_METHOD_NOT_IMPLEMENTED,w=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(35717)(x,c);var E=m.errorOrDestroy,S=["error","close","destroy","pause","resume"];function k(e,t,i){n=n||r(56753),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o||(o=r(32553).StringDecoder),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function x(e){if(n=n||r(56753),!(this instanceof x))return new x(e);var t=this instanceof n;this._readableState=new k(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function O(e,t,r,n,o){i("readableAddChunk",t);var a,s,l,u,c,h=e._readableState;if(null===t)h.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?M(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,N(e)))}}(e,h);else{if(o||(a=h,s=t,f.isBuffer(s)||s instanceof d||"string"==typeof s||void 0===s||a.objectMode||(l=new b("chunk",["string","Buffer","Uint8Array"],s)),c=l),c)E(e,c);else if(h.objectMode||t&&t.length>0){if("string"==typeof t||h.objectMode||Object.getPrototypeOf(t)===f.prototype||(u=t,t=f.from(u)),n)h.endEmitted?E(e,new w):T(e,h,t,!0);else if(h.ended)E(e,new _);else{if(h.destroyed)return!1;h.reading=!1,h.decoder&&!r?(t=h.decoder.write(t),h.objectMode||0!==t.length?T(e,h,t,!1):P(e,h)):T(e,h,t,!1)}}else n||(h.reading=!1,P(e,h))}return!h.ended&&(h.length<h.highWaterMark||0===h.length)}function T(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&M(e)),P(e,t)}function R(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)return t.flowing&&t.length?t.buffer.head.data.length:t.length;if(e>t.highWaterMark){var r;t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function M(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,l.nextTick(N,e))}function N(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function P(e,t){t.readingMore||(t.readingMore=!0,l.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(i("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function j(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function A(e){i("readable nexttick read 0"),e.read(0)}function L(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function I(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function z(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,l.nextTick(F,t,e))}function F(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function B(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),x.prototype.destroy=m.destroy,x.prototype._undestroy=m.undestroy,x.prototype._destroy=function(e,t){t(e)},x.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=f.from(e,t),t=""),r=!0),O(this,e,t,!1,r)},x.prototype.unshift=function(e){return O(this,e,null,!0,!1)},x.prototype.isPaused=function(){return!1===this._readableState.flowing},x.prototype.setEncoding=function(e){o||(o=r(32553).StringDecoder);var t=new o(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},x.prototype.read=function(e){i("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return i("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?z(this):M(this),null;if(0===(e=R(e,r))&&r.ended)return 0===r.length&&z(this),null;var o=r.needReadable;return i("need readable",o),(0===r.length||r.length-e<r.highWaterMark)&&i("length less than watermark",o=!0),r.ended||r.reading?i("reading or ended",o=!1):o&&(i("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=R(n,r))),null===(t=e>0?I(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&z(this)),null!==t&&this.emit("data",t),t},x.prototype._read=function(e){E(this,new v("_read()"))},x.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,i("pipe count=%d opts=%j",n.pipesCount,t);var o=t&&!1===t.end||e===l.stdout||e===l.stderr?m:a;function a(){i("onend"),e.end()}n.endEmitted?l.nextTick(o):r.once("end",o),e.on("unpipe",function t(o,l){i("onunpipe"),o===r&&l&&!1===l.hasUnpiped&&(l.hasUnpiped=!0,i("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",t),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",f),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s())});var s=function(){var e=r._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&u(r,"data")&&(e.flowing=!0,D(r))};e.on("drain",s);var c=!1;function f(t){i("ondata");var o=e.write(t);i("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==B(n.pipes,e))&&!c&&(i("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function d(t){i("onerror",t),m(),e.removeListener("error",d),0===u(e,"error")&&E(e,t)}function h(){e.removeListener("finish",p),m()}function p(){i("onfinish"),e.removeListener("close",h),m()}function m(){i("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",r),n.flowing||(i("pipe resume"),r.resume()),e},x.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=B(t.pipes,e);return -1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},x.prototype.on=function(e,t){var r=c.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?M(this):n.reading||l.nextTick(A,this)),r},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(e,t){var r=c.prototype.removeListener.call(this,e,t);return"readable"===e&&l.nextTick(j,this),r},x.prototype.removeAllListeners=function(e){var t=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&l.nextTick(j,this),t},x.prototype.resume=function(){var e=this._readableState;return e.flowing||(i("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,l.nextTick(L,this,e))),e.paused=!1,this},x.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){i("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!=o)&&(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a<S.length;a++)e.on(S[a],this.emit.bind(this,S[a]));return this._read=function(t){i("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(x.prototype[Symbol.asyncIterator]=function(){return void 0===a&&(a=r(45850)),a(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),x._fromList=I,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(x.from=function(e,t){return void 0===s&&(s=r(15167)),s(x,e,t)})},74605:function(e,t,r){"use strict";e.exports=c;var n=r(94281).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(56753);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(t,r){d(e,t,r)})}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}r(35717)(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},64229:function(e,t,r){"use strict";var n,i,o=r(34155);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e})(t,e)}}e.exports=x,x.WritableState=k;var s={deprecate:r(94927)},l=r(22503),u=r(48764).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},f=r(61195),d=r(82457).getHighWaterMark,h=r(94281).q,p=h.ERR_INVALID_ARG_TYPE,m=h.ERR_METHOD_NOT_IMPLEMENTED,g=h.ERR_MULTIPLE_CALLBACK,y=h.ERR_STREAM_CANNOT_PIPE,b=h.ERR_STREAM_DESTROYED,_=h.ERR_STREAM_NULL_VALUES,v=h.ERR_STREAM_WRITE_AFTER_END,w=h.ERR_UNKNOWN_ENCODING,E=f.errorOrDestroy;function S(){}function k(e,t,i){n=n||r(56753),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new g;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(o.nextTick(i,t),o.nextTick(P,e,r),e._writableState.errorEmitted=!0,E(e,t)):(i(t),e._writableState.errorEmitted=!0,E(e,t),P(e,r));else{var a=M(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||R(e,r),n?o.nextTick(T,e,r,a,i):T(e,r,a,i)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function x(e){var t=this instanceof(n=n||r(56753));if(!t&&!i.call(x,this))return new x(e);this._writableState=new k(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function O(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new b("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function T(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,n(),P(e,t)}function R(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var o=0,s=!0;r;)n[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;n.allBuffers=s,O(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,f=t.objectMode?1:l.length;if(O(e,t,!1,f,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function M(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function N(e,t){e._final(function(r){t.pendingcb--,r&&E(e,r),t.prefinished=!0,e.emit("prefinish"),P(e,t)})}function P(e,t){var r=M(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(N,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}r(35717)(x,l),k.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(k.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===x&&e&&e._writableState instanceof k}})):i=function(e){return e instanceof this},x.prototype.pipe=function(){E(this,new y)},x.prototype.write=function(e,t,r){var n,i,a,s,l,f,d,h=this._writableState,m=!1,g=!h.objectMode&&(n=e,u.isBuffer(n)||n instanceof c);return g&&!u.isBuffer(e)&&(i=e,e=u.from(i)),("function"==typeof t&&(r=t,t=null),g?t="buffer":t||(t=h.defaultEncoding),"function"!=typeof r&&(r=S),h.ending)?(a=r,E(this,s=new v),o.nextTick(a,s)):(g||(l=e,f=r,null===l?d=new _:"string"==typeof l||h.objectMode||(d=new p("chunk",["string","Buffer"],l)),!d||(E(this,d),o.nextTick(f,d),0)))&&(h.pendingcb++,m=function(e,t,r,n,i,o){if(!r){var a,s,l=(a=n,s=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof a||(a=u.from(a,s)),a);n!==l&&(r=!0,i="buffer",n=l)}var c=t.objectMode?1:n.length;t.length+=c;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else O(e,t,!1,c,n,i,o);return f}(this,h,g,e,t,r)),m},x.prototype.cork=function(){this._writableState.corked++},x.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||R(this,e))},x.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,r){r(new m("_write()"))},x.prototype._writev=null,x.prototype.end=function(e,t,r){var n,i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(n=r,i.ending=!0,P(this,i),n&&(i.finished?o.nextTick(n):this.once("finish",n)),i.ended=!0,this.writable=!1),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=f.destroy,x.prototype._undestroy=f.undestroy,x.prototype._destroy=function(e,t){t(e)}},45850:function(e,t,r){"use strict";var n,i=r(34155);function o(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(8610),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[f]=null,e[s]=null,e[l]=null,t(p(r,!1)))}}function g(e){i.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((o(n={get stream(){return this[h]},next:function(){var e,t,r=this,n=this[u];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise(function(e,t){i.nextTick(function(){r[u]?t(r[u]):e(p(void 0,!0))})});var o=this[f];if(o)t=new Promise((e=this,function(t,r){o.then(function(){if(e[c]){t(p(void 0,!0));return}e[d](t,r)},r)}));else{var a=this[h].read();if(null!==a)return Promise.resolve(p(a,!1));t=new Promise(this[d])}return this[f]=t,t}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var e=this;return new Promise(function(t,r){e[h].destroy(null,function(e){if(e){r(e);return}t(p(void 0,!0))})})}),n),y);e.exports=function(e){var t,r=Object.create(b,(o(t={},h,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var n=r[h].read();n?(r[f]=null,r[s]=null,r[l]=null,e(p(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[f]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[f]=null,r[s]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[l]=null,n(p(void 0,!0))),r[c]=!0}),e.on("readable",g.bind(null,r)),r}},57327:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=o(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var a=r(48764).Buffer,s=r(52361).inspect,l=s&&s.custom||"inspect";e.exports=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,r,n=a.allocUnsafe(e>>>0),i=this.head,o=0;i;)t=i.data,r=o,a.prototype.copy.call(t,n,r),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:l,value:function(e,t){return s(this,i(i({},t),{},{depth:0,customInspect:!1}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}()},61195:function(e,t,r){"use strict";var n=r(34155);function i(e,t){a(e,t),o(e)}function o(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(a,this,e)):n.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t?(n.nextTick(o,r),t(e)):n.nextTick(o,r)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},8610:function(e,t,r){"use strict";var n=r(94281).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),a=o||i,s=!1,o=function(){if(!s){s=!0;for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];a.apply(this,t)}};var a,s,l=r.readable||!1!==r.readable&&t.readable,u=r.writable||!1!==r.writable&&t.writable,c=function(){t.writable||d()},f=t._writableState&&t._writableState.finished,d=function(){u=!1,f=!0,l||o.call(t)},h=t._readableState&&t._readableState.endEmitted,p=function(){l=!1,h=!0,u||o.call(t)},m=function(e){o.call(t,e)},g=function(){var e;return l&&!h?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):u&&!f?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},y=function(){t.req.on("finish",d)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",d),t.on("abort",g),t.req?y():t.on("request",y)):u&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",p),t.on("finish",d),!1!==r.error&&t.on("error",m),t.on("close",g),function(){t.removeListener("complete",d),t.removeListener("abort",g),t.removeListener("request",y),t.req&&t.req.removeListener("finish",d),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",d),t.removeListener("end",p),t.removeListener("error",m),t.removeListener("close",g)}}},15167:function(e){e.exports=function(){throw Error("Readable.from is not available in the browser")}},59946:function(e,t,r){"use strict";var n,i=r(94281).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,i=arguments.length,c=Array(i),f=0;f<i;f++)c[f]=arguments[f];var d=(e=c).length&&"function"==typeof e[e.length-1]?e.pop():s;if(Array.isArray(c[0])&&(c=c[0]),c.length<2)throw new o("streams");var h=c.map(function(e,i){var o,s,u,f,p,m,g=i<c.length-1;return o=i>0,u=s=function(e){t||(t=e),e&&h.forEach(l),g||(h.forEach(l),d(t))},f=!1,s=function(){f||(f=!0,u.apply(void 0,arguments))},p=!1,e.on("close",function(){p=!0}),void 0===n&&(n=r(8610)),n(e,{readable:g,writable:o},function(e){if(e)return s(e);p=!0,s()}),m=!1,function(t){if(!p&&!m){if(m=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new a("pipe"))}}});return c.reduce(u)}},82457:function(e,t,r){"use strict";var n=r(94281).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},22503:function(e,t,r){e.exports=r(17187).EventEmitter},88473:function(e,t,r){(t=e.exports=r(79481)).Stream=t,t.Readable=t,t.Writable=r(64229),t.Duplex=r(56753),t.Transform=r(74605),t.PassThrough=r(82725),t.finished=r(8610),t.pipeline=r(59946)},89509:function(e,t,r){var n=r(48764),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},87668:function(e,t){"use strict";let{hasOwnProperty:r}=Object.prototype,n=d();n.configure=d,n.stringify=n,n.default=n,t.stringify=n,t.configure=d,e.exports=n;let i=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function o(e){return e.length<5e3&&!i.test(e)?`"${e}"`:JSON.stringify(e)}function a(e,t){if(e.length>200||t)return e.sort(t);for(let t=1;t<e.length;t++){let r=e[t],n=t;for(;0!==n&&e[n-1]>r;)e[n]=e[n-1],n--;e[n]=r}return e}let s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function l(e){return void 0!==s.call(e)&&0!==e.length}function u(e,t,r){e.length<r&&(r=e.length);let n=","===t?"":" ",i=`"0":${n}${e[0]}`;for(let o=1;o<r;o++)i+=`${t}"${o}":${n}${e[o]}`;return i}function c(e,t){let n;if(r.call(e,t)){if("number"!=typeof(n=e[t]))throw TypeError(`The "${t}" argument must be of type number`);if(!Number.isInteger(n))throw TypeError(`The "${t}" argument must be an integer`);if(n<1)throw RangeError(`The "${t}" argument must be >= 1`)}return void 0===n?1/0:n}function f(e){return 1===e?"1 item":`${e} items`}function d(e){let t=function(e){if(r.call(e,"strict")){let t=e.strict;if("boolean"!=typeof t)throw TypeError('The "strict" argument must be of type boolean');if(t)return e=>{let t=`Object can not safely be stringified. Received type ${typeof e}`;throw"function"!=typeof e&&(t+=` (${e.toString()})`),Error(t)}}}(e={...e});!t||(void 0===e.bigint&&(e.bigint=!1),"circularValue"in e||(e.circularValue=Error));let n=function(e){if(r.call(e,"circularValue")){let t=e.circularValue;if("string"==typeof t)return`"${t}"`;if(null==t)return t;if(t===Error||t===TypeError)return{toString(){throw TypeError("Converting circular structure to JSON")}};throw TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}(e),i=function(e,t){let n;if(r.call(e,t)&&"boolean"!=typeof(n=e[t]))throw TypeError(`The "${t}" argument must be of type boolean`);return void 0===n||n}(e,"bigint"),s=function(e){let t;if(r.call(e,"deterministic")&&"boolean"!=typeof(t=e.deterministic)&&"function"!=typeof t)throw TypeError('The "deterministic" argument must be of type boolean or comparator function');return void 0===t||t}(e),d="function"==typeof s?s:void 0,h=c(e,"maximumDepth"),p=c(e,"maximumBreadth");return function(e,r,c){if(arguments.length>1){let m="";if("number"==typeof c?m=" ".repeat(Math.min(c,10)):"string"==typeof c&&(m=c.slice(0,10)),null!=r){if("function"==typeof r)return function e(r,u,c,m,g,y){let b=u[r];switch("object"==typeof b&&null!==b&&"function"==typeof b.toJSON&&(b=b.toJSON(r)),typeof(b=m.call(u,r,b))){case"string":return o(b);case"object":{if(null===b)return"null";if(-1!==c.indexOf(b))return n;let t="",r=",",i=y;if(Array.isArray(b)){if(0===b.length)return"[]";if(h<c.length+1)return'"[Array]"';c.push(b),""!==g&&(y+=g,t+=`
${y}`,r=`,
${y}`);let n=Math.min(b.length,p),o=0;for(;o<n-1;o++){let n=e(String(o),b,c,m,g,y);t+=(void 0!==n?n:"null")+r}let a=e(String(o),b,c,m,g,y);if(t+=void 0!==a?a:"null",b.length-1>p){let e=b.length-p-1;t+=`${r}"... ${f(e)} not stringified"`}return""!==g&&(t+=`
${i}`),c.pop(),`[${t}]`}let u=Object.keys(b),_=u.length;if(0===_)return"{}";if(h<c.length+1)return'"[Object]"';let v="",w="";""!==g&&(y+=g,r=`,
${y}`,v=" ");let E=Math.min(_,p);s&&!l(b)&&(u=a(u,d)),c.push(b);for(let n=0;n<E;n++){let i=u[n],a=e(i,b,c,m,g,y);void 0!==a&&(t+=`${w}${o(i)}:${v}${a}`,w=r)}return _>p&&(t+=`${w}"...":${v}"${f(_-p)} not stringified"`,w=r),""!==g&&w.length>1&&(t=`
${y}${t}
${i}`),c.pop(),`{${t}}`}case"number":return isFinite(b)?String(b):t?t(b):"null";case"boolean":return!0===b?"true":"false";case"undefined":return;case"bigint":if(i)return String(b);default:return t?t(b):void 0}}("",{"":e},[],r,m,"");if(Array.isArray(r))return function e(r,a,s,l,u,c){switch("object"==typeof a&&null!==a&&"function"==typeof a.toJSON&&(a=a.toJSON(r)),typeof a){case"string":return o(a);case"object":{if(null===a)return"null";if(-1!==s.indexOf(a))return n;let t=c,r="",i=",";if(Array.isArray(a)){if(0===a.length)return"[]";if(h<s.length+1)return'"[Array]"';s.push(a),""!==u&&(c+=u,r+=`
${c}`,i=`,
${c}`);let n=Math.min(a.length,p),o=0;for(;o<n-1;o++){let t=e(String(o),a[o],s,l,u,c);r+=(void 0!==t?t:"null")+i}let d=e(String(o),a[o],s,l,u,c);if(r+=void 0!==d?d:"null",a.length-1>p){let e=a.length-p-1;r+=`${i}"... ${f(e)} not stringified"`}return""!==u&&(r+=`
${t}`),s.pop(),`[${r}]`}s.push(a);let d="";""!==u&&(c+=u,i=`,
${c}`,d=" ");let m="";for(let t of l){let n=e(t,a[t],s,l,u,c);void 0!==n&&(r+=`${m}${o(t)}:${d}${n}`,m=i)}return""!==u&&m.length>1&&(r=`
${c}${r}
${t}`),s.pop(),`{${r}}`}case"number":return isFinite(a)?String(a):t?t(a):"null";case"boolean":return!0===a?"true":"false";case"undefined":return;case"bigint":if(i)return String(a);default:return t?t(a):void 0}}("",e,[],function(e){let t=new Set;for(let r of e)("string"==typeof r||"number"==typeof r)&&t.add(String(r));return t}(r),m,"")}if(0!==m.length)return function e(r,c,m,g,y){switch(typeof c){case"string":return o(c);case"object":{if(null===c)return"null";if("function"==typeof c.toJSON){if("object"!=typeof(c=c.toJSON(r)))return e(r,c,m,g,y);if(null===c)return"null"}if(-1!==m.indexOf(c))return n;let t=y;if(Array.isArray(c)){if(0===c.length)return"[]";if(h<m.length+1)return'"[Array]"';m.push(c),y+=g;let r=`
${y}`,n=`,
${y}`,i=Math.min(c.length,p),o=0;for(;o<i-1;o++){let t=e(String(o),c[o],m,g,y);r+=(void 0!==t?t:"null")+n}let a=e(String(o),c[o],m,g,y);if(r+=void 0!==a?a:"null",c.length-1>p){let e=c.length-p-1;r+=`${n}"... ${f(e)} not stringified"`}return r+=`
${t}`,m.pop(),`[${r}]`}let i=Object.keys(c),b=i.length;if(0===b)return"{}";if(h<m.length+1)return'"[Object]"';y+=g;let _=`,
${y}`,v="",w="",E=Math.min(b,p);l(c)&&(v+=u(c,_,p),i=i.slice(c.length),E-=c.length,w=_),s&&(i=a(i,d)),m.push(c);for(let t=0;t<E;t++){let r=i[t],n=e(r,c[r],m,g,y);void 0!==n&&(v+=`${w}${o(r)}: ${n}`,w=_)}return b>p&&(v+=`${w}"...": "${f(b-p)} not stringified"`,w=_),""!==w&&(v=`
${y}${v}
${t}`),m.pop(),`{${v}}`}case"number":return isFinite(c)?String(c):t?t(c):"null";case"boolean":return!0===c?"true":"false";case"undefined":return;case"bigint":if(i)return String(c);default:return t?t(c):void 0}}("",e,[],m,"")}return function e(r,c,m){switch(typeof c){case"string":return o(c);case"object":{if(null===c)return"null";if("function"==typeof c.toJSON){if("object"!=typeof(c=c.toJSON(r)))return e(r,c,m);if(null===c)return"null"}if(-1!==m.indexOf(c))return n;let t="",i=void 0!==c.length;if(i&&Array.isArray(c)){if(0===c.length)return"[]";if(h<m.length+1)return'"[Array]"';m.push(c);let r=Math.min(c.length,p),n=0;for(;n<r-1;n++){let r=e(String(n),c[n],m);t+=(void 0!==r?r:"null")+","}let i=e(String(n),c[n],m);if(t+=void 0!==i?i:"null",c.length-1>p){let e=c.length-p-1;t+=`,"... ${f(e)} not stringified"`}return m.pop(),`[${t}]`}let g=Object.keys(c),y=g.length;if(0===y)return"{}";if(h<m.length+1)return'"[Object]"';let b="",_=Math.min(y,p);i&&l(c)&&(t+=u(c,",",p),g=g.slice(c.length),_-=c.length,b=","),s&&(g=a(g,d)),m.push(c);for(let r=0;r<_;r++){let n=g[r],i=e(n,c[n],m);void 0!==i&&(t+=`${b}${o(n)}:${i}`,b=",")}return y>p&&(t+=`${b}"...":"${f(y-p)} not stringified"`),m.pop(),`{${t}}`}case"number":return isFinite(c)?String(c):t?t(c):"null";case"boolean":return!0===c?"true":"false";case"undefined":return;case"bigint":if(i)return String(c);default:return t?t(c):void 0}}("",e,[])}}},77911:function(e,t){function r(e){for(var t in e)this[t]=e[t]}t.get=function(e){var r=Error.stackTraceLimit;Error.stackTraceLimit=1/0;var n={},i=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t},Error.captureStackTrace(n,e||t.get);var o=n.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=r,o},t.parse=function(e){if(!e.stack)return[];var t=this;return e.stack.split("\n").slice(1).map(function(e){if(e.match(/^\s*[-]{4,}$/))return t._createParsedCallSite({fileName:e,lineNumber:null,functionName:null,typeName:null,methodName:null,columnNumber:null,native:null});var r=e.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/);if(r){var n=null,i=null,o=null,a=null,s=null,l="native"===r[5];if(r[1]){var u=(o=r[1]).lastIndexOf(".");if("."==o[u-1]&&u--,u>0){n=o.substr(0,u),i=o.substr(u+1);var c=n.indexOf(".Module");c>0&&(o=o.substr(c+1),n=n.substr(0,c))}a=null}i&&(a=n,s=i),"<anonymous>"===i&&(s=null,o=null);var f={fileName:r[2]||null,lineNumber:parseInt(r[3],10)||null,functionName:o,typeName:a,methodName:s,columnNumber:parseInt(r[4],10)||null,native:l};return t._createParsedCallSite(f)}}).filter(function(e){return!!e})},["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"].forEach(function(e){r.prototype[e]=null,r.prototype["get"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}}),["topLevel","eval","native","constructor"].forEach(function(e){r.prototype[e]=!1,r.prototype["is"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}}),t._createParsedCallSite=function(e){return new r(e)}},32553:function(e,t,r){"use strict";var n=r(89509).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:this.write=d,this.end=h;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},9273:function(e,t){"use strict";t.levels={error:0,warn:1,help:2,data:3,info:4,debug:5,prompt:6,verbose:7,input:8,silly:9},t.colors={error:"red",warn:"yellow",help:"cyan",data:"grey",info:"green",debug:"blue",prompt:"grey",verbose:"cyan",input:"grey",silly:"magenta"}},85243:function(e,t,r){"use strict";Object.defineProperty(t,"cli",{value:r(9273)}),Object.defineProperty(t,"npm",{value:r(2459)}),Object.defineProperty(t,"syslog",{value:r(51945)})},2459:function(e,t){"use strict";t.levels={error:0,warn:1,info:2,http:3,verbose:4,debug:5,silly:6},t.colors={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta"}},51945:function(e,t){"use strict";t.levels={emerg:0,alert:1,crit:2,error:3,warning:4,notice:5,info:6,debug:7},t.colors={emerg:"red",alert:"yellow",crit:"red",error:"red",warning:"red",notice:"yellow",info:"green",debug:"blue"}},15396:function(e,t,r){"use strict";Object.defineProperty(t,"LEVEL",{value:Symbol.for("level")}),Object.defineProperty(t,"MESSAGE",{value:Symbol.for("message")}),Object.defineProperty(t,"SPLAT",{value:Symbol.for("splat")}),Object.defineProperty(t,"configs",{value:r(85243)})},94927:function(e,t,r){e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}};function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},94307:function(e,t,r){"use strict";e.exports=r(79428),e.exports.LegacyTransportStream=r(15686)},15686:function(e,t,r){"use strict";var n=r(89539),i=r(15396).LEVEL,o=r(79428),a=e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(o.call(this,e),!e.transport||"function"!=typeof e.transport.log)throw Error("Invalid transport, must be an object with a log method.");this.transport=e.transport,this.level=this.level||e.transport.level,this.handleExceptions=this.handleExceptions||e.transport.handleExceptions,this._deprecated(),this.transport.__winstonError||(this.transport.__winstonError=(function(e){this.emit("error",e,this.transport)}).bind(this),this.transport.on("error",this.transport.__winstonError))};n.inherits(a,o),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);(!this.level||this.levels[this.level]>=this.levels[e[i]])&&this.transport.log(e[i],e.message,e,this._nop),r(null)},a.prototype._writev=function(e,t){for(var r=0;r<e.length;r++)this._accept(e[r])&&(this.transport.log(e[r].chunk[i],e[r].chunk.message,e[r].chunk,this._nop),e[r].callback());return t(null)},a.prototype._deprecated=function(){console.error([this.transport.name+" is a legacy winston transport. Consider upgrading: ","- Upgrade docs: https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md"].join("\n"))},a.prototype.close=function(){this.transport.close&&this.transport.close(),this.transport.__winstonError&&(this.transport.removeListener("error",this.transport.__winstonError),this.transport.__winstonError=null)}},79428:function(e,t,r){"use strict";var n=r(89539),i=r(64229),o=r(15396).LEVEL,a=e.exports=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i.call(this,{objectMode:!0,highWaterMark:t.highWaterMark}),this.format=t.format,this.level=t.level,this.handleExceptions=t.handleExceptions,this.handleRejections=t.handleRejections,this.silent=t.silent,t.log&&(this.log=t.log),t.logv&&(this.logv=t.logv),t.close&&(this.close=t.close),this.once("pipe",function(t){e.levels=t.levels,e.parent=t}),this.once("unpipe",function(t){t===e.parent&&(e.parent=null,e.close&&e.close())})};n.inherits(a,i),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);var n=this.level||this.parent&&this.parent.level;if(!n||this.levels[n]>=this.levels[e[o]]){if(e&&!this.format)return this.log(e,r);var i=void 0,a=void 0;try{a=this.format.transform(Object.assign({},e),this.format.options)}catch(e){i=e}if(i||!a){if(r(),i)throw i;return}return this.log(a,r)}return this._writableState.sync=!1,r(null)},a.prototype._writev=function(e,t){if(this.logv){var r=e.filter(this._accept,this);return r.length?this.logv(r,t):t(null)}for(var n=0;n<e.length;n++)if(this._accept(e[n])){if(e[n].chunk&&!this.format){this.log(e[n].chunk,e[n].callback);continue}var i=void 0,o=void 0;try{o=this.format.transform(Object.assign({},e[n].chunk),this.format.options)}catch(e){i=e}if(i||!o){if(e[n].callback(),i)throw t(null),i}else this.log(o,e[n].callback)}return t(null)},a.prototype._accept=function(e){var t=e.chunk;if(this.silent)return!1;var r=this.level||this.parent&&this.parent.level;return(!0===t.exception||!r||this.levels[r]>=this.levels[t[o]])&&(!!this.handleExceptions||!0!==t.exception)},a.prototype._nop=function(){}},54201:function(e,t,r){"use strict";let n=r(89539),{LEVEL:i}=r(15396),o=r(51746),a=e.exports=function(e={}){if(o.call(this,e),!e.transport||"function"!=typeof e.transport.log)throw Error("Invalid transport, must be an object with a log method.");this.transport=e.transport,this.level=this.level||e.transport.level,this.handleExceptions=this.handleExceptions||e.transport.handleExceptions,this._deprecated(),this.transport.__winstonError||(this.transport.__winstonError=(function(e){this.emit("error",e,this.transport)}).bind(this),this.transport.on("error",this.transport.__winstonError))};n.inherits(a,o),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);(!this.level||this.levels[this.level]>=this.levels[e[i]])&&this.transport.log(e[i],e.message,e,this._nop),r(null)},a.prototype._writev=function(e,t){for(let t=0;t<e.length;t++)this._accept(e[t])&&(this.transport.log(e[t].chunk[i],e[t].chunk.message,e[t].chunk,this._nop),e[t].callback());return t(null)},a.prototype._deprecated=function(){console.error(`${this.transport.name} is a legacy winston transport. Consider upgrading:
- Upgrade docs: https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md`)},a.prototype.close=function(){this.transport.close&&this.transport.close(),this.transport.__winstonError&&(this.transport.removeListener("error",this.transport.__winstonError),this.transport.__winstonError=null)}},51746:function(e,t,r){"use strict";let n=r(89539),i=r(64229),{LEVEL:o}=r(15396),a=e.exports=function(e={}){i.call(this,{objectMode:!0,highWaterMark:e.highWaterMark}),this.format=e.format,this.level=e.level,this.handleExceptions=e.handleExceptions,this.handleRejections=e.handleRejections,this.silent=e.silent,e.log&&(this.log=e.log),e.logv&&(this.logv=e.logv),e.close&&(this.close=e.close),this.once("pipe",e=>{this.levels=e.levels,this.parent=e}),this.once("unpipe",e=>{e===this.parent&&(this.parent=null,this.close&&this.close())})};n.inherits(a,i),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);let n=this.level||this.parent&&this.parent.level;if(!n||this.levels[n]>=this.levels[e[o]]){let t,n;if(e&&!this.format)return this.log(e,r);try{n=this.format.transform(Object.assign({},e),this.format.options)}catch(e){t=e}if(t||!n){if(r(),t)throw t;return}return this.log(n,r)}return this._writableState.sync=!1,r(null)},a.prototype._writev=function(e,t){if(this.logv){let r=e.filter(this._accept,this);return r.length?this.logv(r,t):t(null)}for(let r=0;r<e.length;r++){let n,i;if(this._accept(e[r])){if(e[r].chunk&&!this.format){this.log(e[r].chunk,e[r].callback);continue}try{i=this.format.transform(Object.assign({},e[r].chunk),this.format.options)}catch(e){n=e}if(n||!i){if(e[r].callback(),n)throw t(null),n}else this.log(i,e[r].callback)}}return t(null)},a.prototype._accept=function(e){let t=e.chunk;if(this.silent)return!1;let r=this.level||this.parent&&this.parent.level;return(!0===t.exception||!r||this.levels[r]>=this.levels[t[o]])&&(!!this.handleExceptions||!0!==t.exception)},a.prototype._nop=function(){}},15832:function(e,t,r){"use strict";var n=r(6850),i=r(23221).warn;t.version=r(12561).version,t.transports=r(50557),t.config=r(8953),t.addColors=n.levels,t.format=n.format,t.createLogger=r(53040),t.Logger=r(47803),t.ExceptionHandler=r(69796),t.RejectionHandler=r(74841),t.Container=r(75100),t.Transport=r(94307),t.loggers=new t.Container;var o=t.createLogger();Object.keys(t.config.npm.levels).concat(["log","query","stream","add","remove","clear","profile","startTimer","handleExceptions","unhandleExceptions","handleRejections","unhandleRejections","configure","child"]).forEach(function(e){return t[e]=function(){return o[e].apply(o,arguments)}}),Object.defineProperty(t,"level",{get:function(){return o.level},set:function(e){o.level=e}}),Object.defineProperty(t,"exceptions",{get:function(){return o.exceptions}}),Object.defineProperty(t,"rejections",{get:function(){return o.rejections}}),["exitOnError"].forEach(function(e){Object.defineProperty(t,e,{get:function(){return o[e]},set:function(t){o[e]=t}})}),Object.defineProperty(t,"default",{get:function(){return{exceptionHandlers:o.exceptionHandlers,rejectionHandlers:o.rejectionHandlers,transports:o.transports}}}),i.deprecated(t,"setLevels"),i.forFunctions(t,"useFormat",["cli"]),i.forProperties(t,"useFormat",["padLevels","stripColors"]),i.forFunctions(t,"deprecated",["addRewriter","addFilter","clone","extend"]),i.forProperties(t,"deprecated",["emitErrs","levelLength"])},23221:function(e,t,r){"use strict";var n=r(89539).format;t.warn={deprecated:function(e){return function(){throw Error(n("{ %s } was removed in winston@3.0.0.",e))}},useFormat:function(e){return function(){throw Error([n("{ %s } was removed in winston@3.0.0.",e),"Use a custom winston.format = winston.format(function) instead."].join("\n"))}},forFunctions:function(e,r,n){n.forEach(function(n){e[n]=t.warn[r](n)})},forProperties:function(e,r,n){n.forEach(function(n){var i=t.warn[r](n);Object.defineProperty(e,n,{get:i,set:i})})}}},8953:function(e,t,r){"use strict";var n=r(6850),i=r(15396).configs;t.cli=n.levels(i.cli),t.npm=n.levels(i.npm),t.syslog=n.levels(i.syslog),t.addColors=n.levels},75100:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,o,a=r(53040);e.exports=(i=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.loggers=new Map,this.options=t},o=[{key:"add",value:function(e,t){var r=this;if(!this.loggers.has(e)){var n=(t=Object.assign({},t||this.options)).transports||this.options.transports;n?t.transports=Array.isArray(n)?n.slice():[n]:t.transports=[];var i=a(t);i.on("close",function(){return r._delete(e)}),this.loggers.set(e,i)}return this.loggers.get(e)}},{key:"get",value:function(e,t){return this.add(e,t)}},{key:"has",value:function(e){return!!this.loggers.has(e)}},{key:"close",value:function(e){var t=this;if(e)return this._removeLogger(e);this.loggers.forEach(function(e,r){return t._removeLogger(r)})}},{key:"_removeLogger",value:function(e){this.loggers.has(e)&&(this.loggers.get(e).close(),this._delete(e))}},{key:"_delete",value:function(e){this.loggers.delete(e)}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i)},53040:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var s=r(15396).LEVEL,l=r(8953),u=r(47803),c=r(12524)("winston:create-logger");e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.levels=e.levels||l.npm.levels;var t=function(e){function t(e){var r,a;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),r=t,a=[e],r=o(r),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(r,a||[],o(this).constructor):r.apply(this,a))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(u),r=new t(e);return Object.keys(e.levels).forEach(function(e){if(c('Define prototype method for "%s"',e),"log"===e){console.warn('Level "log" not defined: conflicts with the method "log". Use a different level name.');return}t.prototype[e]=function(){for(var t=this||r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];if(1===i.length){var a=i[0],l=a&&a.message&&a||{message:a};return l.level=l[s]=e,t._addDefaultMeta(l),t.write(l),this||r}return 0===i.length?(t.log(e,""),t):t.log.apply(t,[e].concat(i))},t.prototype["is"+e.charAt(0).toUpperCase()+e.slice(1)+"Enabled"]=function(){return(this||r).isLevelEnabled(e)}}),r}},69796:function(e,t,r){"use strict";var n,i,o=r(34155);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=r(73461),l=r(78058),u=r(12524)("winston:exception"),c=r(33138),f=r(77911),d=r(50288);e.exports=(n=function e(t){if(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),!t)throw Error("Logger is required to handle exceptions");this.logger=t,this.handlers=new Map},i=[{key:"handle",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];r.forEach(function(t){if(Array.isArray(t))return t.forEach(function(t){return e._addHandler(t)});e._addHandler(t)}),this.catcher||(this.catcher=this._uncaughtException.bind(this),o.on("uncaughtException",this.catcher))}},{key:"unhandle",value:function(){var e=this;this.catcher&&(o.removeListener("uncaughtException",this.catcher),this.catcher=!1,Array.from(this.handlers.values()).forEach(function(t){return e.logger.unpipe(t)}))}},{key:"getAllInfo",value:function(e){var t=null;return e&&(t="string"==typeof e?e:e.message),{error:e,level:"error",message:["uncaughtException: ".concat(t||"(no error message)"),e&&e.stack||" No stack trace"].join("\n"),stack:e&&e.stack,exception:!0,date:new Date().toString(),process:this.getProcessInfo(),os:this.getOsInfo(),trace:this.getTrace(e)}}},{key:"getProcessInfo",value:function(){return{pid:o.pid,uid:o.getuid?o.getuid():null,gid:o.getgid?o.getgid():null,cwd:o.cwd(),execPath:o.execPath,version:o.version,argv:o.argv,memoryUsage:o.memoryUsage()}}},{key:"getOsInfo",value:function(){return{loadavg:s.loadavg(),uptime:s.uptime()}}},{key:"getTrace",value:function(e){return(e?f.parse(e):f.get()).map(function(e){return{column:e.getColumnNumber(),file:e.getFileName(),function:e.getFunctionName(),line:e.getLineNumber(),method:e.getMethodName(),native:e.isNative()}})}},{key:"_addHandler",value:function(e){if(!this.handlers.has(e)){e.handleExceptions=!0;var t=new d(e);this.handlers.set(e,t),this.logger.pipe(t)}}},{key:"_uncaughtException",value:function(e){var t,r=this.getAllInfo(e),n=this._getExceptionHandlers(),i="function"==typeof this.logger.exitOnError?this.logger.exitOnError(e):this.logger.exitOnError;function a(){u("doExit",i),u("process._exiting",o._exiting),i&&!o._exiting&&(t&&clearTimeout(t),o.exit(1))}if(!n.length&&i&&(console.warn("winston: exitOnError cannot be true with no exception handlers."),console.warn("winston: not exiting process."),i=!1),!n||0===n.length)return o.nextTick(a);l(n,function(e,t){var r=c(t),n=e.transport||e;function i(e){return function(){u(e),r()}}n._ending=!0,n.once("finish",i("finished")),n.once("error",i("error"))},function(){return i&&a()}),this.logger.log(r),i&&(t=setTimeout(a,3e3))}},{key:"_getExceptionHandlers",value:function(){return this.logger.transports.filter(function(e){return(e.transport||e).handleExceptions})}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(n.key),n)}}(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n)},50288:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var s=r(88473).Writable;e.exports=function(e){var t;function r(e){var t,a,s;if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),s=[{objectMode:!0}],a=o(a=r),t=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(a,s||[],o(this).constructor):a.apply(this,s)),!e)throw Error("ExceptionStream requires a TransportStream instance.");return t.handleExceptions=!0,t.transport=e,t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(r,e),t=[{key:"_write",value:function(e,t,r){return e.exception?this.transport.log(e,r):(r(),!0)}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(s)},47803:function(e,t,r){"use strict";function n(e,t,r){return(t=o(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a=function(){return!!e})()}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var u=r(88473),c=u.Stream,f=u.Transform,d=r(78058),h=r(15396),p=h.LEVEL,m=h.SPLAT,g=r(24970),y=r(69796),b=r(74841),_=r(54201),v=r(25140),w=r(23221).warn,E=r(8953),S=/%[scdjifoO%]/g,k=function(e){var t;function u(e){var t,r,n;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,u),n=[{objectMode:!0}],r=s(r=u),(t=function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,a()?Reflect.construct(r,n||[],s(this).constructor):r.apply(this,n))).configure(e),t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(u,e),t=[{key:"child",value:function(e){var t=this;return Object.create(t,{write:{value:function(r){var n=Object.assign({},e,r);r instanceof Error&&(n.stack=r.stack,n.message=r.message),t.write(n)}}})}},{key:"configure",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.silent,i=t.format,o=t.defaultMeta,a=t.levels,s=t.level,l=t.exitOnError,u=t.transports,c=t.colors,f=t.emitErrs,d=t.formatters,h=t.padLevels,p=t.rewriters,m=t.stripColors,g=t.exceptionHandlers,_=t.rejectionHandlers;if(this.transports.length&&this.clear(),this.silent=n,this.format=i||this.format||r(13922)(),this.defaultMeta=o||null,this.levels=a||this.levels||E.npm.levels,this.level=void 0===s?"info":s,this.exceptions&&this.exceptions.unhandle(),this.rejections&&this.rejections.unhandle(),this.exceptions=new y(this),this.rejections=new b(this),this.profilers={},this.exitOnError=void 0===l||l,u&&(u=Array.isArray(u)?u:[u]).forEach(function(t){return e.add(t)}),c||f||d||h||p||m)throw Error("{ colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in winston@3.0.0.\nUse a custom winston.format(function) instead.\nSee: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md");g&&this.exceptions.handle(g),_&&this.rejections.handle(_)}},{key:"isLevelEnabled",value:function(e){var t=this,r=x(this.levels,e);if(null===r)return!1;var n=x(this.levels,this.level);return null!==n&&(this.transports&&0!==this.transports.length?-1!==this.transports.findIndex(function(e){var i=x(t.levels,e.level);return null===i&&(i=n),i>=r}):n>=r)}},{key:"log",value:function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];if(1==arguments.length)return e[p]=e.level,this._addDefaultMeta(e),this.write(e),this;if(2==arguments.length)return t&&"object"===i(t)?t[p]=t.level=e:t=n(n(n({},p,e),"level",e),"message",t),this._addDefaultMeta(t),this.write(t),this;var s=o[0];if("object"===i(s)&&null!==s&&!(t&&t.match&&t.match(S))){var l=Object.assign({},this.defaultMeta,s,n(n(n(n({},p,e),m,o),"level",e),"message",t));return s.message&&(l.message="".concat(l.message," ").concat(s.message)),s.stack&&(l.stack=s.stack),s.cause&&(l.cause=s.cause),this.write(l),this}return this.write(Object.assign({},this.defaultMeta,n(n(n(n({},p,e),m,o),"level",e),"message",t))),this}},{key:"_transform",value:function(e,t,r){if(this.silent)return r();e[p]||(e[p]=e.level),this.levels[e[p]]||0===this.levels[e[p]]||console.error("[winston] Unknown logger level: %s",e[p]),this._readableState.pipes||console.error("[winston] Attempt to write logs with no transports, which can increase memory usage: %j",e);try{this.push(this.format.transform(e,this.format.options))}finally{this._writableState.sync=!1,r()}}},{key:"_final",value:function(e){d(this.transports.slice(),function(e,t){if(!e||e.finished)return setImmediate(t);e.once("finish",t),e.end()},e)}},{key:"add",value:function(e){var t=!g(e)||e.log.length>2?new _({transport:e}):e;if(!t._writableState||!t._writableState.objectMode)throw Error("Transports must WritableStreams in objectMode. Set { objectMode: true }.");return this._onEvent("error",t),this._onEvent("warn",t),this.pipe(t),e.handleExceptions&&this.exceptions.handle(),e.handleRejections&&this.rejections.handle(),this}},{key:"remove",value:function(e){if(!e)return this;var t=e;return(!g(e)||e.log.length>2)&&(t=this.transports.filter(function(t){return t.transport===e})[0]),t&&this.unpipe(t),this}},{key:"clear",value:function(){return this.unpipe(),this}},{key:"close",value:function(){return this.exceptions.unhandle(),this.rejections.unhandle(),this.clear(),this.emit("close"),this}},{key:"setLevels",value:function(){w.deprecated("setLevels")}},{key:"query",value:function(e,t){"function"==typeof e&&(t=e,e={});var r={},n=Object.assign({},(e=e||{}).query||{});d(this.transports.filter(function(e){return!!e.query}),function(t,i){var o;o=function(e,n){i&&((n=e||n)&&(r[t.name]=n),i()),i=null},e.query&&"function"==typeof t.formatQuery&&(e.query=t.formatQuery(n)),t.query(e,function(r,n){if(r)return o(r);"function"==typeof t.formatResults&&(n=t.formatResults(n,e.format)),o(null,n)})},function(){return t(null,r)})}},{key:"stream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new c,r=[];return t._streams=r,t.destroy=function(){for(var e=r.length;e--;)r[e].destroy()},this.transports.filter(function(e){return!!e.stream}).forEach(function(n){var i=n.stream(e);i&&(r.push(i),i.on("log",function(e){e.transport=e.transport||[],e.transport.push(n.name),t.emit("log",e)}),i.on("error",function(e){e.transport=e.transport||[],e.transport.push(n.name),t.emit("error",e)}))}),t}},{key:"startTimer",value:function(){return new v(this)}},{key:"profile",value:function(e){var t=Date.now();if(this.profilers[e]){var r=this.profilers[e];delete this.profilers[e];for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];"function"==typeof o[o.length-2]&&(console.warn("Callback function no longer supported as of winston@3.0.0"),o.pop());var s="object"===i(o[o.length-1])?o.pop():{};return s.level=s.level||"info",s.durationMs=t-r,s.message=s.message||e,this.write(s)}return this.profilers[e]=t,this}},{key:"handleExceptions",value:function(){var e;console.warn("Deprecated: .handleExceptions() will be removed in winston@4. Use .exceptions.handle()"),(e=this.exceptions).handle.apply(e,arguments)}},{key:"unhandleExceptions",value:function(){var e;console.warn("Deprecated: .unhandleExceptions() will be removed in winston@4. Use .exceptions.unhandle()"),(e=this.exceptions).unhandle.apply(e,arguments)}},{key:"cli",value:function(){throw Error("Logger.cli() was removed in winston@3.0.0\nUse a custom winston.formats.cli() instead.\nSee: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md")}},{key:"_onEvent",value:function(e,t){t["__winston"+e]||(t["__winston"+e]=(function(r){"error"!==e||this.transports.includes(t)||this.add(t),this.emit(e,r,t)}).bind(this),t.on(e,t["__winston"+e]))}},{key:"_addDefaultMeta",value:function(e){this.defaultMeta&&Object.assign(e,this.defaultMeta)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}(u.prototype,t),Object.defineProperty(u,"prototype",{writable:!1}),u}(f);function x(e,t){var r=e[t];return r||0===r?r:null}Object.defineProperty(k.prototype,"transports",{configurable:!1,enumerable:!0,get:function(){var e=this._readableState.pipes;return Array.isArray(e)?e:[e].filter(Boolean)}}),e.exports=k},25140:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,o,a=(i=function e(t){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e);var i=r(47803);if("object"!==n(t)||Array.isArray(t)||!(t instanceof i))throw Error("Logger is required for profiling");this.logger=t,this.start=Date.now()},o=[{key:"done",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];"function"==typeof t[t.length-1]&&(console.warn("Callback function no longer supported as of winston@3.0.0"),t.pop());var i="object"===n(t[t.length-1])?t.pop():{};return i.level=i.level||"info",i.durationMs=Date.now()-this.start,this.logger.write(i)}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i);e.exports=a},74841:function(e,t,r){"use strict";var n,i,o=r(34155);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=r(73461),l=r(78058),u=r(12524)("winston:rejection"),c=r(33138),f=r(77911),d=r(33860);e.exports=(n=function e(t){if(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),!t)throw Error("Logger is required to handle rejections");this.logger=t,this.handlers=new Map},i=[{key:"handle",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];r.forEach(function(t){if(Array.isArray(t))return t.forEach(function(t){return e._addHandler(t)});e._addHandler(t)}),this.catcher||(this.catcher=this._unhandledRejection.bind(this),o.on("unhandledRejection",this.catcher))}},{key:"unhandle",value:function(){var e=this;this.catcher&&(o.removeListener("unhandledRejection",this.catcher),this.catcher=!1,Array.from(this.handlers.values()).forEach(function(t){return e.logger.unpipe(t)}))}},{key:"getAllInfo",value:function(e){var t=null;return e&&(t="string"==typeof e?e:e.message),{error:e,level:"error",message:["unhandledRejection: ".concat(t||"(no error message)"),e&&e.stack||" No stack trace"].join("\n"),stack:e&&e.stack,rejection:!0,date:new Date().toString(),process:this.getProcessInfo(),os:this.getOsInfo(),trace:this.getTrace(e)}}},{key:"getProcessInfo",value:function(){return{pid:o.pid,uid:o.getuid?o.getuid():null,gid:o.getgid?o.getgid():null,cwd:o.cwd(),execPath:o.execPath,version:o.version,argv:o.argv,memoryUsage:o.memoryUsage()}}},{key:"getOsInfo",value:function(){return{loadavg:s.loadavg(),uptime:s.uptime()}}},{key:"getTrace",value:function(e){return(e?f.parse(e):f.get()).map(function(e){return{column:e.getColumnNumber(),file:e.getFileName(),function:e.getFunctionName(),line:e.getLineNumber(),method:e.getMethodName(),native:e.isNative()}})}},{key:"_addHandler",value:function(e){if(!this.handlers.has(e)){e.handleRejections=!0;var t=new d(e);this.handlers.set(e,t),this.logger.pipe(t)}}},{key:"_unhandledRejection",value:function(e){var t,r=this.getAllInfo(e),n=this._getRejectionHandlers(),i="function"==typeof this.logger.exitOnError?this.logger.exitOnError(e):this.logger.exitOnError;function a(){u("doExit",i),u("process._exiting",o._exiting),i&&!o._exiting&&(t&&clearTimeout(t),o.exit(1))}if(!n.length&&i&&(console.warn("winston: exitOnError cannot be true with no rejection handlers."),console.warn("winston: not exiting process."),i=!1),!n||0===n.length)return o.nextTick(a);l(n,function(e,t){var r=c(t),n=e.transport||e;function i(e){return function(){u(e),r()}}n._ending=!0,n.once("finish",i("finished")),n.once("error",i("error"))},function(){return i&&a()}),this.logger.log(r),i&&(t=setTimeout(a,3e3))}},{key:"_getRejectionHandlers",value:function(){return this.logger.transports.filter(function(e){return(e.transport||e).handleRejections})}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(n.key),n)}}(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n)},33860:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var s=r(88473).Writable;e.exports=function(e){var t;function r(e){var t,a,s;if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),s=[{objectMode:!0}],a=o(a=r),t=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(a,s||[],o(this).constructor):a.apply(this,s)),!e)throw Error("RejectionStream requires a TransportStream instance.");return t.handleRejections=!0,t.transport=e,t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(r,e),t=[{key:"_write",value:function(e,t,r){return e.rejection?this.transport.log(e,r):(r(),!0)}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(s)},61860:function(e,t,r){"use strict";var n=r(48764).Buffer,i=r(62828),o=r(32553).StringDecoder,a=r(88473).Stream;function s(){}e.exports=function(e,t){var r=n.alloc(65536),l=new o("utf8"),u=new a,c="",f=0,d=0;return(-1===e.start&&delete e.start,u.readable=!0,u.destroy=function(){u.destroyed=!0,u.emit("end"),u.emit("close")},i.open(e.file,"a+","0644",function(n,o){if(n){t?t(n):u.emit("error",n),u.destroy();return}!function n(){if(u.destroyed){i.close(o,s);return}return i.read(o,r,0,r.length,f,function(i,o){if(i){t?t(i):u.emit("error",i),u.destroy();return}if(!o)return c&&((null==e.start||d>e.start)&&(t?t(null,c):u.emit("line",c)),d++,c=""),setTimeout(n,1e3);var a=l.write(r.slice(0,o));t||u.emit("data",a);for(var s=(a=(c+a).split(/\n+/)).length-1,h=0;h<s;h++)(null==e.start||d>e.start)&&(t?t(null,a[h]):u.emit("line",a[h])),d++;return c=a[s],f+=o,n()})}()}),t)?u.destroy:u}},93739:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var s=r(73461),l=r(15396),u=l.LEVEL,c=l.MESSAGE,f=r(94307);e.exports=function(e){var t;function r(){var e,t,a,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=[l],e=o(e),(a=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(e,t||[],o(this).constructor):e.apply(this,t))).name=l.name||"console",a.stderrLevels=a._stringArrayToSet(l.stderrLevels),a.consoleWarnLevels=a._stringArrayToSet(l.consoleWarnLevels),a.eol="string"==typeof l.eol?l.eol:s.EOL,a.forceConsole=l.forceConsole||!1,a._consoleLog=console.log.bind(console),a._consoleWarn=console.warn.bind(console),a._consoleError=console.error.bind(console),a.setMaxListeners(30),a}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(r,e),t=[{key:"log",value:function(e,t){var r=this;if(setImmediate(function(){return r.emit("logged",e)}),this.stderrLevels[e[u]]){console._stderr&&!this.forceConsole?console._stderr.write("".concat(e[c]).concat(this.eol)):this._consoleError(e[c]),t&&t();return}if(this.consoleWarnLevels[e[u]]){console._stderr&&!this.forceConsole?console._stderr.write("".concat(e[c]).concat(this.eol)):this._consoleWarn(e[c]),t&&t();return}console._stdout&&!this.forceConsole?console._stdout.write("".concat(e[c]).concat(this.eol)):this._consoleLog(e[c]),t&&t()}},{key:"_stringArrayToSet",value:function(e,t){if(!e)return{};if(t=t||"Cannot make set from type other than Array of string elements",!Array.isArray(e))throw Error(t);return e.reduce(function(e,r){if("string"!=typeof r)throw Error(t);return e[r]=!0,e},{})}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(f)},13401:function(e,t,r){"use strict";var n=r(48764).Buffer;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(o=function(){return!!e})()}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var l=r(85811),u=r(1864),c=r(48415),f=r(47715),d=r(15396).MESSAGE,h=r(88473),p=h.Stream,m=h.PassThrough,g=r(94307),y=r(12524)("winston:file"),b=r(73461),_=r(61860);e.exports=function(e){var t;function r(){var e,t,n,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function l(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];r.slice(1).forEach(function(t){if(s[t])throw Error("Cannot set ".concat(t," and ").concat(e," together"))})}if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=[s],e=a(e),(n=function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,o()?Reflect.construct(e,t||[],a(this).constructor):e.apply(this,t))).name=s.name||"file",n._stream=new m,n._stream.setMaxListeners(30),n._onError=n._onError.bind(n),s.filename||s.dirname)l("filename or dirname","stream"),n._basename=n.filename=s.filename?u.basename(s.filename):"winston.log",n.dirname=s.dirname||u.dirname(s.filename),n.options=s.options||{flags:"a"};else if(s.stream)console.warn("options.stream will be removed in winston@4. Use winston.transports.Stream"),l("stream","filename","maxsize"),n._dest=n._stream.pipe(n._setupStream(s.stream)),n.dirname=u.dirname(n._dest.path);else throw Error("Cannot log to file without filename or stream.");return n.maxsize=s.maxsize||null,n.rotationFormat=s.rotationFormat||!1,n.zippedArchive=s.zippedArchive||!1,n.maxFiles=s.maxFiles||null,n.eol="string"==typeof s.eol?s.eol:b.EOL,n.tailable=s.tailable||!1,n.lazy=s.lazy||!1,n._size=0,n._pendingSize=0,n._created=0,n._drain=!1,n._opening=!1,n._ending=!1,n._fileExist=!1,n.dirname&&n._createLogDirIfNotExist(n.dirname),n.lazy||n.open(),n}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(r,e),t=[{key:"finishIfEnding",value:function(){var e=this;this._ending&&(this._opening?this.once("open",function(){e._stream.once("finish",function(){return e.emit("finish")}),setImmediate(function(){return e._stream.end()})}):(this._stream.once("finish",function(){return e.emit("finish")}),setImmediate(function(){return e._stream.end()})))}},{key:"log",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if(this.silent)return r(),!0;if(this._drain){this._stream.once("drain",function(){t._drain=!1,t.log(e,r)});return}if(this._rotate){this._stream.once("rotate",function(){t._rotate=!1,t.log(e,r)});return}if(this.lazy){if(!this._fileExist){this._opening||this.open(),this.once("open",function(){t._fileExist=!0,t.log(e,r)});return}if(this._needsNewFile(this._pendingSize)){this._dest.once("close",function(){t._opening||t.open(),t.once("open",function(){t.log(e,r)})});return}}var i="".concat(e[d]).concat(this.eol),o=n.byteLength(i);this._pendingSize+=o,this._opening&&!this.rotatedWhileOpening&&this._needsNewFile(this._size+this._pendingSize)&&(this.rotatedWhileOpening=!0);var a=this._stream.write(i,(function(){var t=this;if(this._size+=o,this._pendingSize-=o,y("logged %s %s",this._size,i),this.emit("logged",e),!this._rotate&&!this._opening&&this._needsNewFile()){if(this.lazy){this._endStream(function(){t.emit("fileclosed")});return}this._rotate=!0,this._endStream(function(){return t._rotateFile()})}}).bind(this));return a?r():(this._drain=!0,this._stream.once("drain",function(){t._drain=!1,r()})),y("written",a,this._drain),this.finishIfEnding(),a}},{key:"query",value:function(e,t){"function"==typeof e&&(t=e,e={}),(r=(r=e)||{}).rows=r.rows||r.limit||10,r.start=r.start||0,r.until=r.until||new Date,"object"!==i(r.until)&&(r.until=new Date(r.until)),r.from=r.from||r.until-864e5,"object"!==i(r.from)&&(r.from=new Date(r.from)),r.order=r.order||"desc",e=r;var r,n=u.join(this.dirname,this.filename),o="",a=[],s=0,c=l.createReadStream(n,{encoding:"utf8"});function f(t,r){try{var n=JSON.parse(t);(function(t){if(t&&"object"===i(t)){var r=new Date(t.timestamp);if((!e.from||!(r<e.from))&&(!e.until||!(r>e.until))&&(!e.level||e.level===t.level))return!0}})(n)&&function(t){if(e.rows&&a.length>=e.rows&&"desc"!==e.order){c.readable&&c.destroy();return}e.fields&&(t=e.fields.reduce(function(e,r){return e[r]=t[r],e},{})),"desc"===e.order&&a.length>=e.rows&&a.shift(),a.push(t)}(n)}catch(e){r||c.emit("error",e)}}c.on("error",function(e){if(c.readable&&c.destroy(),t)return"ENOENT"!==e.code?t(e):t(null,a)}),c.on("data",function(t){for(var r=(t=(o+t).split(/\n+/)).length-1,n=0;n<r;n++)(!e.start||s>=e.start)&&f(t[n]),s++;o=t[r]}),c.on("close",function(){o&&f(o,!0),"desc"===e.order&&(a=a.reverse()),t&&t(null,a)})}},{key:"stream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=u.join(this.dirname,this.filename),r=new p,n={file:t,start:e.start};return r.destroy=_(n,function(e,t){if(e)return r.emit("error",e);try{r.emit("data",t),t=JSON.parse(t),r.emit("log",t)}catch(e){r.emit("error",e)}}),r}},{key:"open",value:function(){var e=this;this.filename&&(this._opening||(this._opening=!0,this.stat(function(t,r){if(t)return e.emit("error",t);y("stat done: %s { size: %s }",e.filename,r),e._size=r,e._dest=e._createStream(e._stream),e._opening=!1,e.once("open",function(){e._stream.emit("rotate")||(e._rotate=!1)})})))}},{key:"stat",value:function(e){var t=this,r=this._getFile(),n=u.join(this.dirname,r);l.stat(n,function(i,o){return i&&"ENOENT"===i.code?(y("ENOENT\xa0ok",n),t.filename=r,e(null,0)):i?(y("err ".concat(i.code," ").concat(n)),e(i)):!o||t._needsNewFile(o.size)?t._incFile(function(){return t.stat(e)}):void(t.filename=r,e(null,o.size))})}},{key:"close",value:function(e){var t=this;this._stream&&this._stream.end(function(){e&&e(),t.emit("flush"),t.emit("closed")})}},{key:"_needsNewFile",value:function(e){return e=e||this._size,this.maxsize&&e>=this.maxsize}},{key:"_onError",value:function(e){this.emit("error",e)}},{key:"_setupStream",value:function(e){return e.on("error",this._onError),e}},{key:"_cleanupStream",value:function(e){return e.removeListener("error",this._onError),e.destroy(),e}},{key:"_rotateFile",value:function(){var e=this;this._incFile(function(){return e.open()})}},{key:"_endStream",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};this._dest?(this._stream.unpipe(this._dest),this._dest.end(function(){e._cleanupStream(e._dest),t()})):t()}},{key:"_createStream",value:function(e){var t=this,r=u.join(this.dirname,this.filename);y("create stream start",r,this.options);var n=l.createWriteStream(r,this.options).on("error",function(e){return y(e)}).on("close",function(){return y("close",n.path,n.bytesWritten)}).on("open",function(){y("file open ok",r),t.emit("open",r),e.pipe(n),t.rotatedWhileOpening&&(t._stream=new m,t._stream.setMaxListeners(30),t._rotateFile(),t.rotatedWhileOpening=!1,t._cleanupStream(n),e.end())});return y("create stream ok",r),n}},{key:"_incFile",value:function(e){y("_incFile",this.filename);var t=u.extname(this._basename),r=u.basename(this._basename,t),n=[];this.zippedArchive&&n.push((function(e){var n=this._created>0&&!this.tailable?this._created:"";this._compressFile(u.join(this.dirname,"".concat(r).concat(n).concat(t)),u.join(this.dirname,"".concat(r).concat(n).concat(t,".gz")),e)}).bind(this)),n.push((function(e){this.tailable?this._checkMaxFilesTailable(t,r,e):(this._created+=1,this._checkMaxFilesIncrementing(t,r,e))}).bind(this)),c(n,e)}},{key:"_getFile",value:function(){var e=u.extname(this._basename),t=u.basename(this._basename,e),r=this.rotationFormat?this.rotationFormat():this._created;return!this.tailable&&this._created?"".concat(t).concat(r).concat(e):"".concat(t).concat(e)}},{key:"_checkMaxFilesIncrementing",value:function(e,t,r){if(!this.maxFiles||this._created<this.maxFiles)return setImmediate(r);var n=this._created-this.maxFiles,i=this.zippedArchive?".gz":"",o="".concat(t).concat(0!==n?n:"").concat(e).concat(i),a=u.join(this.dirname,o);l.unlink(a,r)}},{key:"_checkMaxFilesTailable",value:function(e,t,r){var n=this,i=[];if(this.maxFiles){for(var o=this.zippedArchive?".gz":"",a=this.maxFiles-1;a>1;a--)i.push((function(r,n){var i=this,a="".concat(t).concat(r-1).concat(e).concat(o),s=u.join(this.dirname,a);l.exists(s,function(c){if(!c)return n(null);a="".concat(t).concat(r).concat(e).concat(o),l.rename(s,u.join(i.dirname,a),n)})}).bind(this,a));c(i,function(){l.rename(u.join(n.dirname,"".concat(t).concat(e).concat(o)),u.join(n.dirname,"".concat(t,"1").concat(e).concat(o)),r)})}}},{key:"_compressFile",value:function(e,t,r){l.access(e,l.F_OK,function(n){if(n)return r();var i=f.createGzip(),o=l.createReadStream(e),a=l.createWriteStream(t);a.on("finish",function(){l.unlink(e,r)}),o.pipe(i).pipe(a)})}},{key:"_createLogDirIfNotExist",value:function(e){l.existsSync(e)||l.mkdirSync(e,{recursive:!0})}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(g)},85216:function(e,t,r){"use strict";var n=r(48764).Buffer;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=s(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var f=r(22321),d=r(78428),h=r(88473).Stream,p=r(94307),m=r(87668).configure;e.exports=function(e){var t;function r(){var e,t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=[o],e=u(e),(n=function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,l()?Reflect.construct(e,t||[],u(this).constructor):e.apply(this,t))).options=o,n.name=o.name||"http",n.ssl=!!o.ssl,n.host=o.host||"localhost",n.port=o.port,n.auth=o.auth,n.path=o.path||"",n.maximumDepth=o.maximumDepth,n.agent=o.agent,n.headers=o.headers||{},n.headers["content-type"]="application/json",n.batch=o.batch||!1,n.batchInterval=o.batchInterval||5e3,n.batchCount=o.batchCount||10,n.batchOptions=[],n.batchTimeoutID=-1,n.batchCallback={},n.port||(n.port=n.ssl?443:80),n}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(r,e),t=[{key:"log",value:function(e,t){var r=this;this._request(e,null,null,function(t,n){n&&200!==n.statusCode&&(t=Error("Invalid HTTP Status Code: ".concat(n.statusCode))),t?r.emit("warn",t):r.emit("logged",e)}),t&&setImmediate(t)}},{key:"query",value:function(e,t){"function"==typeof e&&(t=e,e={});var r=(e={method:"query",params:this.normalizeQuery(e)}).params.auth||null;delete e.params.auth;var n=e.params.path||null;delete e.params.path,this._request(e,r,n,function(e,r,n){if(r&&200!==r.statusCode&&(e=Error("Invalid HTTP Status Code: ".concat(r.statusCode))),e)return t(e);if("string"==typeof n)try{n=JSON.parse(n)}catch(e){return t(e)}t(null,n)})}},{key:"stream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new h,r=(e={method:"stream",params:e}).params.path||null;delete e.params.path;var n=e.params.auth||null;delete e.params.auth;var i="",o=this._request(e,n,r);return t.destroy=function(){return o.destroy()},o.on("data",function(e){for(var r=(e=(i+e).split(/\n+/)).length-1,n=0;n<r;n++)try{t.emit("log",JSON.parse(e[n]))}catch(e){t.emit("error",e)}i=e[r]}),o.on("error",function(e){return t.emit("error",e)}),t}},{key:"_request",value:function(e,t,r,n){e=e||{},t=t||this.auth,r=r||this.path||"",this.batch?this._doBatch(e,n,t,r):this._doRequest(e,n,t,r)}},{key:"_doBatch",value:function(e,t,r,n){if(this.batchOptions.push(e),1===this.batchOptions.length){var i=this;this.batchCallback=t,this.batchTimeoutID=setTimeout(function(){i.batchTimeoutID=-1,i._doBatchRequest(i.batchCallback,r,n)},this.batchInterval)}this.batchOptions.length===this.batchCount&&this._doBatchRequest(this.batchCallback,r,n)}},{key:"_doBatchRequest",value:function(e,t,r){this.batchTimeoutID>0&&(clearTimeout(this.batchTimeoutID),this.batchTimeoutID=-1);var n=this.batchOptions.slice();this.batchOptions=[],this._doRequest(n,e,t,r)}},{key:"_doRequest",value:function(e,t,r,i){var o=Object.assign({},this.headers);r&&r.bearer&&(o.Authorization="Bearer ".concat(r.bearer));var s=(this.ssl?d:f).request(a(a({},this.options),{},{method:"POST",host:this.host,port:this.port,path:"/".concat(i.replace(/^\//,"")),headers:o,auth:r&&r.username&&r.password?"".concat(r.username,":").concat(r.password):"",agent:this.agent}));s.on("error",t),s.on("response",function(e){return e.on("end",function(){return t(null,e)}).resume()});var l=m(a({},this.maximumDepth&&{maximumDepth:this.maximumDepth}));s.end(n.from(l(e,this.options.replacer),"utf8"))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(p)},50557:function(e,t,r){"use strict";Object.defineProperty(t,"Console",{configurable:!0,enumerable:!0,get:function(){return r(93739)}}),Object.defineProperty(t,"File",{configurable:!0,enumerable:!0,get:function(){return r(13401)}}),Object.defineProperty(t,"Http",{configurable:!0,enumerable:!0,get:function(){return r(85216)}}),Object.defineProperty(t,"Stream",{configurable:!0,enumerable:!0,get:function(){return r(36780)}})},36780:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var s=r(24970),l=r(15396).MESSAGE,u=r(73461),c=r(94307);e.exports=function(e){var t;function r(){var e,t,a,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=[l],e=o(e),a=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(e,t||[],o(this).constructor):e.apply(this,t)),!l.stream||!s(l.stream))throw Error("options.stream is required.");return a._stream=l.stream,a._stream.setMaxListeners(1/0),a.isObjectMode=l.stream._writableState.objectMode,a.eol="string"==typeof l.eol?l.eol:u.EOL,a}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(r,e),t=[{key:"log",value:function(e,t){var r=this;if(setImmediate(function(){return r.emit("logged",e)}),this.isObjectMode){this._stream.write(e),t&&t();return}this._stream.write("".concat(e[l]).concat(this.eol)),t&&t()}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(c)},93967:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=o(t,r));return t}(r)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(r=(function(){return i}).apply(t,[]))&&(e.exports=r)}()},98029:function(e,t,r){"use strict";r.d(t,{D:function(){return c}});var n=r(67294),i=r(59289),o=r(27037),a=r(7506),s=r(24139),l=class extends a.l{#e;#t=void 0;#r;#n;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,s.VS)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.Ym)(t.mutationKey)!==(0,s.Ym)(this.options.mutationKey)?this.reset():this.#r?.state.status==="pending"&&this.#r.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#o(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#i(),this.#o()}mutate(e,t){return this.#n=t,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#i(){let e=this.#r?.state??(0,i.R)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#o(e){o.Vr.batch(()=>{if(this.#n&&this.hasListeners()){let t=this.#t.variables,r=this.#t.context;e?.type==="success"?(this.#n.onSuccess?.(e.data,t,r),this.#n.onSettled?.(e.data,null,t,r)):e?.type==="error"&&(this.#n.onError?.(e.error,t,r),this.#n.onSettled?.(void 0,e.error,t,r))}this.listeners.forEach(e=>{e(this.#t)})})}},u=r(30202);function c(e,t){let r=(0,u.NL)(t),[i]=n.useState(()=>new l(r,e));n.useEffect(()=>{i.setOptions(e)},[i,e]);let a=n.useSyncExternalStore(n.useCallback(e=>i.subscribe(o.Vr.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=n.useCallback((e,t)=>{i.mutate(e,t).catch(s.ZT)},[i]);if(a.error&&(0,s.L3)(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:c,mutateAsync:a.mutate}}},95866:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(83642),i=r(97580),o=r(53669),a=r(35871),s=r(81395);function l(e,t,r){if("string"==typeof e&&!e.match(o.Z)){var l=n(r);return l.timeZone=t,(0,i.Z)(e,l)}var u=(0,i.Z)(e,r),c=(0,s.Z)(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()).getTime(),f=(0,a.Z)(t,new Date(c));return new Date(c+f)}},119:function(e,t,r){"use strict";let n,i,o,a,s,l,u,c,f,d,h,p,m,g,y,b,_,v,w,E,S,k,x,O,T,R;r.d(t,{lr:function(){return M},Sp:function(){return N}});var M={};r.r(M),r.d(M,{Component:function(){return eL},WithTracking:function(){return eD},useCarouselPaginationControls:function(){return ej}});var N={};r.r(N),r.d(N,{w:function(){return eF}});var P=r(85893),C=r(67294);class j{static getInstance(){return j.instance||new j}registerTracking(e){e&&e.addEventListener("click",()=>{let t=j.instance.getParent(e);(function(e,t){let r=t.dataset,n=e.dataset;return t.ariaLabel?r.role?!!n.component&&!!n.trackingId||(console.error("Parent is missing expected dataset attribute: data-component"),!1):(console.error("Child is missing expected dataset attribute: data-role"),!1):(console.error("Child is missing expected attribute: aria-label"),!1)})(t,e)||console.error("There was a problem creating your event. Please confirm integration.");let r=function(e,t){let r=t.dataset,n=e.dataset,i={event:"intercom_click",eventCategory:n.trackingId,eventAction:"".concat(n.component,"_").concat(r.role,"_click"),eventLabel:t.ariaLabel};return A(i)?i:void 0}(t,e);j.instance.trackEvent(r)})}registerComponent(e){e&&j.instance.elements.set(e.id,e)}trackEvent(e){if(!window.dataLayer){console.error("window.dataLayer is not defined",e);return}if(!A(e)){console.error("Invalid parameters passed to Tracker.trackEvent. Event will not fire.");return}window.dataLayer.push(e)}getParent(e){let t=[...j.instance.elements.entries()].find(t=>{let[r,n]=t;return n.contains(e)});if(!t)throw Error("No parent found for element ".concat(e));return t[1]}constructor(){this.elements=new Map,j.instance=this}}function A(e){if(!e)return!1;let{event:t,eventAction:r,eventLabel:n,eventCategory:i}=e;return!!t&&!!i&&!!r&&!!n||(console.error("Invalid tracking config, you are missing required properties. [event, eventCategory, eventLabel and eventAction are required]"),!1)}let L=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"add-circle-fill",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11h-4v4h-2v-4H7v-2h4V7h2v4h4z"}))}),D=((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"arrow-down",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"m21.887 8-10 10-10-10 1.776-1.775 8.224 8.225 8.226-8.225z"}))},(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"check-circle-fill",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}))})),I=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"chevron-left",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"m14 18-6-6 6-6 1.4 1.4-4.6 4.6 4.6 4.6z"}))}),z=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"chevron-right",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M13.2 12 8.6 7.4 10 6l6 6-6 6-1.4-1.4z"}))}),F=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"play",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M6.5 19V5l11 7z"}))});var B=r(93967),U=((n=U||{}).articleBottom1="articleBottom1",n.articleBottom2="articleBottom2",n.articleRightRail1="articleRightRail1",n.articleRightRail2="articleRightRail2",n.articleRightRail3="articleRightRail3",n),H=((i=H||{}).article="article",i.homepage="homepage",i);function Z(e){let t=new Date,r=new Date(e);return Math.abs(t.getTime()-r.getTime())}function W(e){if(!e.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/)||Number.isNaN(Date.parse(e)))return console.error('Error in getStringifiedElapsedTime: timestamp "'.concat(e,'" is not a valid format.')),null;let t=Z(e)/1e3,r=t/60,n=r/60;if(n>=1){let e=Math.round(n);return"".concat(e," ").concat(e>1?"hrs":"hr")}if(r>=1){let e=Math.round(r);return"".concat(e," ").concat(e>1?"mins":"min")}return"".concat(Math.round(t)," secs")}r(93289);var G={eyebrowContainer:"intercom-eyebrow_eyebrowContainer-uDuWZCR3a8Y-"},Y=((o=Y||{})["opinion-blue"]="opinion-blue",o.red="red",o);let q=e=>{let{timeInMilliseconds:t,prefix:r}=e;return(0,P.jsxs)("time",{className:G.duration,children:[r," (",Math.floor(t/6e4)%60,":",(Math.floor(t/1e3)%60).toString().padStart(2,"0"),")"]})};function V(e){let{duration:t,text:r,url:n}=e;return r||t?(0,P.jsxs)("div",{className:B(G.eyebrowContainer),children:[t&&(0,P.jsx)(q,{...t}),r&&!t&&r]}):(console.error("<Eyebrow /> cannot render without text or duration"),null)}q.displayName="Eyebrow.Duration",V.displayName="Eyebrow.Component";let $=/-999x-999/;function K(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:19,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return $.test(e)?e.replace(/^http:\/\//,"//").replace(/^\/\//,"https://").replace(/.webp/,".gif"):e.replace(/^http:\/\//,"//").replace(/^\/\//,"https://").replace(/(\/)(-*\d+x-*\d+)(.\w+)$/,"$1".concat(t,"x").concat(r,"$3").concat(n?" ".concat(i?"".concat(i,"x"):"".concat(t,"w")):""))}r(35683);var X={linkedImage:"intercom-image_linkedImage-OoAeD5Xjcf0-",image:"intercom-image_image--zFBE4i3jFM-"};let Q=e=>{let{alt:t="",assetUrl:r,tabletBreakpoint:n=759,desktopMaxWidth:i=1200,mobileMaxWidth:o=600,aspectRatio:a,style:s={},isLazy:l=!1}=e,{mobile:u,desktop:c}=function(e){let{mobileMaxWidth:t,desktopMaxWidth:r,aspectRatio:n,assetUrl:i}=e;return/^.*\.(gif)/.test(i)?(console.error(".gif passed into getImageSrcSets, cannot create srcsets",i),{mobile:"",desktop:""}):{mobile:[1,2].map(e=>{let r=t*e;return K(i,r,n?Math.round(r/n):-1,!0,e)}).join(", "),desktop:[1,2].map(e=>{let t=r*e;return K(i,t,n?Math.round(t/n):-1,!0,e)}).join(", ")}}({assetUrl:r,desktopMaxWidth:i,mobileMaxWidth:o,aspectRatio:a}),f=function(e){let{width:t,aspectRatio:r}=e;return r?Math.round(t/r):-1}({width:o,aspectRatio:a});return(0,P.jsxs)("picture",{className:X.imageContainer,children:[(0,P.jsx)("source",{media:"screen and (max-width: ".concat(n,"px)"),srcSet:u}),(0,P.jsx)("source",{media:"screen and (min-width: ".concat(n,"px)"),srcSet:c}),(0,P.jsx)("img",{className:X.image,style:s,src:function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:19,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return null===(t=K(e,r,n,i,o))||void 0===t?void 0:t.replace(/.webp/,".jpg")}(r,o,f),loading:l?"lazy":"eager",alt:t})]})};Q.displayName="Image.Picture";let J=e=>(0,P.jsx)("a",{className:X.linkedImage,href:e.linkToUrl,children:(0,P.jsx)(Q,{...e})});J.displayName="Image.Link";let ee=e=>e.assetUrl?e.linkToUrl?(0,P.jsx)(J,{...e}):(0,P.jsx)(Q,{...e}):null;ee.displayName="Image.Component",r(10777);let et=()=>(0,P.jsx)("div",{className:"intercom-big-card_playIcon-TUQ5B3Z-3Gk-",children:(0,P.jsx)(F,{"aria-label":"Play Icon"})});var er=r(61465);let en=()=>{},ei={borderStyle:{type:"enum",values:["none","full","top","bottom"],default:"none"},appearance:{type:"enum",values:["inherit","light","dark"],default:"inherit"},accentColor:{type:"enum",values:["none","gray","red","blue","green"],default:"none"},radius:{type:"enum",values:["none","small","medium","large","full"],default:"medium"},scaling:{type:"enum",values:["90%","95%","100%","105%","110%"],default:"100%"}},eo=C.createContext(void 0),ea=C.forwardRef((e,t)=>{var r,n,i,o,a;let s=C.useContext(eo),{asChild:l,isRoot:u,borderStyle:c=null!==(r=null==s?void 0:s.borderStyle)&&void 0!==r?r:ei.borderStyle.default,appearance:f=null!==(n=null==s?void 0:s.appearance)&&void 0!==n?n:ei.appearance.default,accentColor:d=null!==(i=null==s?void 0:s.accentColor)&&void 0!==i?i:ei.accentColor.default,radius:h=null!==(o=null==s?void 0:s.radius)&&void 0!==o?o:ei.radius.default,scaling:p=null!==(a=null==s?void 0:s.scaling)&&void 0!==a?a:ei.scaling.default,onBorderStyleChange:m=en,onAppearanceChange:g=en,onAccentColorChange:y=en,onRadiusChange:b=en,onScalingChange:_=en,...v}=e,w=l?er.g7:"div";return(0,P.jsx)(eo.Provider,{value:C.useMemo(()=>({borderStyle:c,appearance:f,accentColor:d,radius:h,scaling:p,onBorderStyleChange:m,onAppearanceChange:g,onAccentColorChange:y,onRadiusChange:b,onScalingChange:_}),[c,f,d,h,p,m,g,y,b,_]),children:(0,P.jsx)(w,{"data-is-root-theme":u?"true":"false","data-accent-color":d,"data-radius":h,"data-scaling":p,"data-border-style":c,ref:t,...v,className:B("intercom-themes",{light:"light"===f,dark:"dark"===f},v.className)})})});ea.displayName="ThemeImpl";let es=C.forwardRef((e,t)=>{let{borderStyle:r=ei.borderStyle.default,appearance:n=ei.appearance.default,accentColor:i=ei.accentColor.default,radius:o=ei.radius.default,scaling:a=ei.scaling.default,...s}=e,[l,u]=C.useState(r);C.useEffect(()=>u(l),[l]);let[c,f]=C.useState(n);C.useEffect(()=>f(n),[n]);let[d,h]=C.useState(i);C.useEffect(()=>h(i),[i]);let[p,m]=C.useState(o);C.useEffect(()=>m(o),[o]);let[g,y]=C.useState(a);return C.useEffect(()=>y(a),[a]),(0,P.jsx)(ea,{...s,ref:t,isRoot:!0,borderStyle:l,appearance:c,accentColor:d,radius:p,scaling:g,onBorderStyleChange:u,onAppearanceChange:f,onAccentColorChange:h,onRadiusChange:m,onScalingChange:y})});es.displayName="ThemeRoot",C.forwardRef((e,t)=>void 0===C.useContext(eo)?(0,P.jsx)(es,{...e,ref:t}):(0,P.jsx)(ea,{...e,ref:t})).displayName="Theme",r(23270);r(37261),r(91763);r(55865);let el=e=>{if(864e5>Z(e))return"".concat(W(e)," ago");let t=new Date(e);return"".concat(t.toLocaleString("default",{month:"long"})," ").concat(t.getDate())},eu=()=>(0,P.jsx)("div",{className:"intercom-card_playIcon-eJLi0eiyLxs-",children:(0,P.jsx)(F,{"aria-label":"Play Icon"})});var ec="u">typeof globalThis?globalThis:window;function ef(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ed=NaN,eh=/^\s+|\s+$/g,ep=/^[-+]0x[0-9a-f]+$/i,em=/^0b[01]+$/i,eg=/^0o[0-7]+$/i,ey=parseInt,eb="object"==typeof ec&&ec&&ec.Object===Object&&ec,e_="object"==typeof self&&self&&self.Object===Object&&self,ev=eb||e_||Function("return this")(),ew=Object.prototype.toString,eE=Math.max,eS=Math.min,ek=function(){return ev.Date.now()};function ex(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eO(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==ew.call(t))return ed;if(ex(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=ex(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(eh,"");var n=em.test(e);return n||eg.test(e)?ey(e.slice(2),n?2:8):ep.test(e)?ed:+e}var eT=ef(function(e,t,r){var n,i,o,a,s,l,u=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function h(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r)}function p(e){var r=e-l,n=e-u;return void 0===l||r>=t||r<0||f&&n>=o}function m(){var e,r,n,i=ek();if(p(i))return g(i);s=setTimeout(m,(e=i-l,r=i-u,n=t-e,f?eS(n,o-r):n))}function g(e){return s=void 0,d&&n?h(e):(n=i=void 0,a)}function y(){var e,r=ek(),o=p(r);if(n=arguments,i=this,l=r,o){if(void 0===s)return u=e=l,s=setTimeout(m,t),c?h(e):a;if(f)return s=setTimeout(m,t),h(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=eO(t)||0,ex(r)&&(c=!!r.leading,o=(f="maxWait"in r)?eE(eO(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(ek())},y});let eR=e=>{},eM=function(e){let{onChildAdded:t=eR,onChildRemoved:r=eR,onObserve:n=eR,onUnobserve:i=eR}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{childList:!0,subtree:!0},a=(0,C.useRef)(null);return(0,C.useEffect)(()=>e?(a.current=new MutationObserver(e=>{e.forEach(n=>{"childList"===n.type&&(n.removedNodes.length>0&&r({removedNodes:n.removedNodes,mutations:e,mutation:n}),n.addedNodes.length>0&&t({addedNodes:n.addedNodes,mutations:e,mutation:n}))})}),a.current.observe(e,o),n({element:e}),()=>{a.current.disconnect(),i({element:e})}):()=>{},[e,t,r,n,i]),a},eN=e=>{},eP=function(e){let{onResize:t=eN,onObserve:r=eN,onUnobserve:n=eN}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,C.useRef)(null);return(0,C.useEffect)(()=>e?(i.current=new ResizeObserver(e=>{t({entries:e})}),i.current.observe(e),r({element:e}),()=>{i.current.unobserve(e),i.current.disconnect(),n({element:e})}):()=>{},[e,t,r,n,i]),i};r(72388);var eC={carouselContainer:"intercom-carousel_carouselContainer-Dr5zyNcxSmM-",header:"intercom-carousel_header-J7MIvKDcZao-",iterableComponentsContainer:"intercom-carousel_iterableComponentsContainer-DQkh-K22P0c-",iterableComponent:"intercom-carousel_iterableComponent-fGdW6sySG8w-",navigation:"intercom-carousel_navigation-Rv00WsZ5-hw-",circleButtons:"intercom-carousel_circleButtons-vEbGOl6-GwI-",circleButton:"intercom-carousel_circleButton-wbda16bCeIY-",current:"intercom-carousel_current-9sYpaRhLm8Q-",forwardBackwardButtons:"intercom-carousel_forwardBackwardButtons-D7QPPx4GO1w-",backward:"intercom-carousel_backward-ut4q7dsqtCY-",forward:"intercom-carousel_forward-QNzK1zGM2Lo-",navButton:"intercom-carousel_navButton-zyir6hzxvE0-",navButtonIcon:"intercom-carousel_navButtonIcon-1aMnWGXR5ys-"};let ej=()=>{let[e,t]=(0,C.useState)(0);return{controlledPageIndex:e,setControlledPageIndex:t}},eA=(e,t)=>{let[r,n]=(0,C.useState)(null==e?void 0:e.scrollWidth),[i,o]=(0,C.useState)(null==e?void 0:e.clientWidth),a=(0,C.useMemo)(()=>r-i-Math.abs(t),[r,i,t]),s=(0,C.useCallback)(eT(()=>{e&&(n(e.scrollWidth),o(e.clientWidth))},100),[e,t]);return eM(e,{onChildAdded:s,onChildRemoved:s}),eP(e,{onResize:s,onObserve:s}),{remainingX:a}};function eL(e){let{IterableComponent:t,componentPropsList:r,disableMouseDragScroll:n=!1,tileProperties:i,paginationProperties:o,title:a,adRenderers:s=[],setControlledPageIndex:l,controlledPageIndex:u,tracker:c}=e,[f,d]=(0,C.useState)(null),h=(0,C.useRef)(0),[p,m]=function(e){let{defaultValue:t,externalValue:r,setExternalValue:n}=e,[i,o]=(0,C.useState)(t),a=(0,C.useCallback)(e=>{o(e),n(e)},[o,n]);return(0,C.useLayoutEffect)(()=>{n&&r!==i&&o(r)},[r,n,o]),n?[r,a]:[i,o]}({defaultValue:0,externalValue:u,setExternalValue:l}),[g,y]=(0,C.useState)(0),[b,_]=(0,C.useState)(0),[v,w]=(0,C.useState)(0),[E,S]=(0,C.useState)(1),k=(0,C.useRef)(null),[x,O]=(0,C.useState)(!1),T=r.length+s.length,R=(0,C.useCallback)(e=>{f!==e&&d(e)},[d,f]),M=e.numberOfColumns||T,N=T-E+1,{remainingX:j}=eA(f,v);E&&(N=(null==o?void 0:o.fullWidth)?Math.ceil(T/E):T-E+1);let A=r.map((e,r)=>(0,P.jsx)(t,{...e},r));s.forEach(e=>{e.adPosition>0?A.splice(e.adPosition-1,0,e.adRenderer()):console.error("Invalid ad rendering position. adPosition must be >= 1")});let L=(0,C.useCallback)(e=>{let{updatedTileWidth:t}=e;f&&(y((null==i?void 0:i.width)||t),_((null==i?void 0:i.gap)||parseInt(f.style.gap,10)||0),t+b!==0&&S(Math.floor(f.clientWidth/(t+b))))},[f,b,null==i?void 0:i.gap,null==i?void 0:i.width]);!function(e,t){let r=null==e?void 0:e.children[0],n=eP(r,{onResize:(0,C.useCallback)(e=>{let{entries:r}=e;t({updatedTileWidth:r[0].contentRect.width})},[t])}),i=(0,C.useCallback)(eT(()=>{n.current.unobserve(r);let t=null==e?void 0:e.children[0];n.current.observe(t)},100),[e,r]);eP(e,{onResize:(0,C.useCallback)(e=>{var r,n;let{entries:i}=e;t({updatedTileWidth:null===(n=i[0].target.children)||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.getBoundingClientRect().width})},[t]),onObserve:(0,C.useCallback)(()=>{t({updatedTileWidth:null==e?void 0:e.children[0].getBoundingClientRect().width})},[t,e])}),eM(e,{onChildAdded:i,onChildRemoved:i})}(f,L);let D=(0,C.useCallback)(e=>{m(e)},[p]),F=()=>{m(e=>Math.min(e+1,N-1))},U=()=>{m(e=>Math.max(e-1,0))},H=(0,C.useCallback)(()=>{if(!f)return;let e=h.current;if(e===p)return;let t=f.scrollWidth,r=f.clientWidth,n=(null==o?void 0:o.fullWidth)?e<p?Math.min(t-r,E*(g+b)*p):Math.max(0,t-E*(g+b)*(N-p)):Math.min(t-r,(g+b)*p);f.style.transform="translateX(".concat(-n,"px)"),w(-n)},[N,E,p,null==o?void 0:o.fullWidth,b,g]);if((0,C.useEffect)(()=>{H(),h.current=p},[p,H]),!t)return console.error("No IterableComponent found for Carousel"),null;if(!(null==r?void 0:r.length))return console.error("No props passed in for components in Carousel"),null;let Z=(0,C.useCallback)(e=>{O(!0),k.current=e.clientX},[x]),W=(0,C.useCallback)(e=>{if(!x||null===k.current)return;let t=e.clientX-k.current;t<-50&&F(),t>50&&U(),O(!1),k.current=null},[x]);return(0,C.useEffect)(()=>(x&&!n&&window.addEventListener("mouseup",W),()=>{window.removeEventListener("mouseup",W)}),[x]),(0,P.jsxs)("div",{className:eC.carouselContainer,onMouseDown:n?void 0:Z,children:[a&&(0,P.jsx)("div",{className:eC.header,children:(0,P.jsx)("h3",{className:eC.title,children:a})}),(0,P.jsx)("ul",{className:eC.iterableComponentsContainer,ref:R,style:{gap:(null==i?void 0:i.gap)?"".concat(i.gap,"px"):0},children:Array(M).fill(!0).map((e,t)=>(0,P.jsx)("li",{className:eC.iterableComponent,style:{width:(null==i?void 0:i.width)?"".concat(i.width,"px"):"100%"},children:A[t]},t))}),(0,P.jsxs)("div",{className:eC.navigation,children:[(0,P.jsx)("div",{className:eC.circleButtons,children:Array(Math.max(N,0)).fill(!0).map((e,t)=>(0,P.jsx)("span",{"data-testid":"nav button ".concat(t),className:B(eC.circleButton,{[eC.current]:p===t}),onClick:()=>D(t),"data-role":"nav_button","aria-label":"button_".concat(t),ref:null==c?void 0:c.registerTracking},"".concat(a,"-page-").concat(t)))}),(0,P.jsxs)("div",{className:eC.forwardBackwardButtons,children:[(0,P.jsx)("button",{className:eC.navButton,disabled:0===v,onClick:()=>U(),"data-role":"arrow","aria-label":"Previous",ref:null==c?void 0:c.registerTracking,children:(0,P.jsx)(I,{className:eC.navButtonIcon})}),(0,P.jsx)("button",{className:eC.navButton,disabled:0===j,onClick:()=>F(),ref:null==c?void 0:c.registerTracking,"data-role":"arrow","aria-label":"Next",children:(0,P.jsx)(z,{className:eC.navButtonIcon})})]})]})]})}function eD(e){let t=(0,C.useId)(),r=e.trackingId.length?j.getInstance():void 0;return(0,P.jsx)("div",{id:t,"data-component":"carousel","data-tracking-id":e.trackingId,ref:null==r?void 0:r.registerComponent,children:(0,P.jsx)(eL,{...e,tracker:r})})}eL.displayName="Carousel.Component",r(54743);r(73997);r(25576),r(51075);let eI=e=>864e5>Z(e)?"".concat(W(e)):new Date(e).toLocaleString("default",{day:"numeric",month:"long",year:"numeric"});r(18011);var ez=((a=ez||{}).left="left",a.right="right",a);function eF(e){let{text:t,onClick:r=()=>{},isDisabled:n=!1,isSelected:i=!1}=e,o=B("intercom-select-tag_selectTagContainer-ySEIRso9NPE-",{"intercom-select-tag_selected-WH9zArs3xv4-":i});return(0,P.jsxs)("button",{"aria-pressed":i,className:o,disabled:n,onClick:()=>{r()},type:"button",children:[i?(0,P.jsx)(D,{}):(0,P.jsx)(L,{}),(0,P.jsx)("span",{className:"intercom-select-tag_text-BY6zYvwm6Cg-",children:t})]})}r(16205),eF.displayName="SelectTag.Component",r(63610);var eB=((s=eB||{}).getPersonById="getPersonById",s.getStories="getStories",s.getStoryBySlug="getStoryBySlug",s.getStoryById="getStoryById",s.getImages="getImages",s.getAudios="getAudios",s.getVideos="getVideos",s.getImagesBulk="getImagesBulk",s.getSecurities="getSecurities",s.getNewsletters="getNewsletters",s.getNiCodeStories="getNiCodeStories",s.getUserAuthors="getUserAuthors",s.getUserNewsletters="getUserNewsletters",s.getUserTopics="getUserTopics",s.getUserSecurities="getUserSecurities",s.getTopMovingSecurities="getTopMovingSecurities",s.getPopularResources="getPopularResources",s.getPopularEntities="getPopularEntities",s.getRecommended="getRecommended",s.getRelated="getRelated",s.getRecommendedPopular="getRecommendedPopular",s.getUserBookmarks="getUserBookmarks",s.getUserProfile="getUserProfile",s.getBio="getBio",s.getCompaniesPublic="getCompaniesPublic",s.getCompaniesPrivate="getCompaniesPrivate",s.getSrchDataSecurities="getSrchDataSecurities",s);r(57121),r(82463),r(25321);var eU={exports:{}},eH=r(83300);eU.exports,function(e,t){let r=eH.default||eH,n=function(e,t){return/^\/\//.test(e)&&(e="https:"+e),r.call(this,e,t)};n.ponyfill=!0,e.exports=t=n,t.fetch=n,t.Headers=eH.Headers,t.Request=eH.Request,t.Response=eH.Response,t.default=n}(eU,eU.exports),ef(eU.exports);var eZ=((l=eZ||{}).DS003="DS003",l.DS520="DS520",l.PR005="PR005",l.PR051="PR051",l.DS001="DS001",l.UTIME="UTIME",l.DS458="DS458",l.PR006="PR006",l.PR061="PR061",l.PR007="PR007",l.PR008="PR008",l.PR070="PR070",l.DS002="DS002",l.PR052="PR052",l.PR013="PR013",l),eW=((u=eW||{}).companyName="companyName",u.name="name",u.price="price",u.id="id",u.lastUpdateUTC="lastUpdateUTC",u.isoCountry="isoCountry",u.open="open",u.high="high",u.low="low",u.volume="volume",u.absoluteChange="absoluteChange",u.percentChange1Day="percentChange1Day",u.percentChange1Month="percentChange1Month",u.percentChange1Year="percentChange1Year",u.exchange="exchange",u),eG=((c=eG||{}).PERCENT_UP="PERCENT_UP",c.PERCENT_DOWN="PERCENT_DOWN",c.VOLUME="VOLUME",c),eY=((f=eY||{}).gadfly="gadfly",f.quicktake="quicktake",f.bbiz="bbiz",f.bpol="bpol",f.cybersecurity="cybersecurity",f["climate-changed"]="climate-changed",f.businessweek="businessweek",f["special-issue"]="special-issue",f["new-economy-forum"]="new-economy-forum",f.markets="markets",f.bloomberg_app="bloomberg_app",f.bview="bview",f.business_week_app="business_week_app",f.technology="technology",f.pursuits="pursuits",f.btv="btv",f.apple_news="apple_news",f.cojp="cojp",f.sponsored="sponsored",f.feeds="feeds",f.socialflow="socialflow",f.tictoc="tictoc",f.hyperdrive="hyperdrive",f.prognosis="prognosis",f.green="green",f.screentime="screentime",f.citylab="citylab",f.wealth="wealth",f.equality="equality",f.syndication="syndication",f.newsletters="newsletters",f.economics="economics",f.crypto="crypto",f["markets-magazine"]="markets-magazine",f.industries="industries",f["work-shift"]="work-shift",f["weekend-edition"]="weekend-edition",f),eq=((d=eq||{}).article="article",d.audio="audio",d.photo="photo",d.breaking_news="breaking_news",d.data_article="data_article",d.slideshow="slideshow",d.impact_scorecard="impact_scorecard",d.interactive="interactive",d.feature="feature",d.quicktake="quicktake",d.video="video",d.letter="letter",d.newsletter_campaign="newsletter_campaign",d.author_session="author_session",d.storythread="storythread",d.liveblog="liveblog",d.explainers="explainers",d),eV=((h=eV||{}).bview="bview",h.gadfly="gadfly",h.quicktake="quicktake",h.bbiz="bbiz",h.bpol="bpol",h.businessweek="businessweek",h.markets="markets",h.technology="technology",h.pursuits="pursuits",h.cojp="cojp",h.sponsored="sponsored",h.green="green",h.citylab="citylab",h.wealth="wealth",h.equality="equality",h.economics="economics",h.industries="industries",h.crypto="crypto",h["work-shift"]="work-shift",h["markets-magazine"]="markets-magazine",h),e$=((p=e$||{}).en="en",p.ja="ja",p),eK=((m=eK||{}).AVMM="AVMM",m.BMMR="BMMR",m.OOYALA="OOYALA",m),eX=((g=eX||{}).minute="minute",g.hour="hour",g.week="week",g.month="month",g.year="year",g);eY.markets,eY.economics,eY.technology,eY.bpol,eY.crypto,eY.green,r(91489),r(73699),r(91091),r(64707);var eQ=((y=eQ||{}).article="article",y.breaking_news="breaking_news",y.data_article="data_article",y.slideshow="slideshow",y.impact_scorecard="impact_scorecard",y.interactive="interactive",y.feature="feature",y.quicktake="quicktake",y.video="video",y.letter="letter",y.newsletter_campaign="newsletter_campaign",y.author_session="author_session",y.liveblog="liveblog",y),eJ=((b=eJ||{}).Business="BBIZ",b.Businessweek="BUSINESSWEEK",b.Citylab="CITYLAB",b.Cojp="COJP",b.Crypto="CRYPTO",b.Economics="ECONOMICS",b.Equality="EQUALITY",b.Gadfly="GADFLY",b.Green="GREEN",b.Industries="INDUSTRIES",b.Markets="MARKETS",b.MarketsMagazine="MARKETS_MAGAZINE",b.Politics="BPOL",b.Pursuits="PURSUITS",b.Quicktake="QUICKTAKE",b.Sponsored="SPONSORED",b.Technology="TECHNOLOGY",b.View="VIEW",b.Wealth="WEALTH",b.WorkShift="WORK_SHIFT",b),e0=((_=e0||{}).Article="ARTICLE",_.Audio="AUDIO",_.Video="VIDEO",_),e1=((v=e1||{}).PublishedDate="PUBLISHED_DATE",v.SavedDate="SAVED_DATE",v),e2=((w=e2||{}).Asc="ASC",w.Desc="DESC",w),e3=((E=e3||{}).ENGAGEMENT_PREFERENCES="ENGAGEMENT_PREFERENCES",E),e5=((S=e5||{}).FOLLOW="FOLLOW",S),e6=((k=e6||{}).TOPIC="Topic",k),e4=((x=e4||{}).HOME_FEED="HOME_FEED",x),e8=r(30096),e9=((O=e9||{}).Story="Story",O.Video="Video",O.Interactive="Interactive",O.Company="Company",O.Topic="Topic",O.Feature="Feature",O.Author="Author",O.Person="Person",O.Section="Section",O.Ni="Ni",O.Wire="Wire",O.Newsletter="Newsletter",O.Quicktake="Quicktake",O.Currency="Currency",O.Region="Region",O.Event="Event",O.External="External",O.Slideshow="Slideshow",O.Dataarticle="Dataarticle",O.Category="Category",O.Tracker="Tracker",O.Index="Index",O.Country="Country",O.Organization="Organization",O.City="City",O.Commodity="Commodity",O.Fund="Fund",O.Classification="Classification",O.Series="Series",O.Location="Location",O),e7=((T=e7||{}).VIEW="VIEW",T.SHARE="SHARE",T.MERGE="MERGE",T.QUEUE="QUEUE",T.INFO_UPDATE="INFO_UPDATE",T);let{fetchWithProxy:te}=e8;r(27044);var tt=((R=tt||{}).WHITELISTED="WHITELISTED",R.PUBLIC_COMPANY_EXECUTIVE="PUBLIC_COMPANY_EXECUTIVE",R.TERMINAL_USER_AND_EXECUTIVE="TERMINAL_USER_AND_EXECUTIVE",R);r(34155),r(34155),r(34155),r(34155),r(34155),r(34155),r(34155),r(34155),r(34155)},12561:function(e){"use strict";e.exports={version:"3.17.0"}}}]);