Mon, 10 Jan 2022 15:51
Why full employment doesn't mean what it used to. Photo: Spencer Platt/Getty Images
Photo: Spencer Platt/Getty Images
First, the good news about the economy: The unemployment rate found a new pandemic-era low of 3.9 percent in December, according to the jobs report released Friday. The new data came with some pretty big caveats, though '-- only 199,000 people joined the workforce last month, while Goldman Sachs analysts had expected more than double that for new jobs, and the number of people who aren't working at all because of the pandemic didn't budge. And while wages are going up, they're not rising as quickly as prices for rent, gas, and the other goods that are fueling inflation.
The unemployment rate is a rosy data point that seems to be detached from a broader disaffection in the economy, but it's still a crucial one in understanding what's going on right now. The majority of Americans blame President Biden for his handling of the economy, according to a recent poll, and consumer sentiment is at its lowest point in a decade. It's not really a surprise that there would be so much malaise '-- inflation is high, the pandemic is nearing its second anniversary '-- but what's surprising is that Biden is now the third straight U.S. president to learn the hard way that low unemployment doesn't mean that people feel that they're any better off.
It used to be that when the economy was humming and jobs were plentiful, it was a pretty reliable indicator that people were happy with who was nominally leading the country. Thirty years ago, James Carville's quip that ''it's the economy, stupid,'' helped Bill Clinton crystalize his successful bid for the White House, ultimately taking it over from incumbent George H. W. Bush, who saw the unemployment rate rise to 7.8 percent. Before that, Ronald Reagan got voters to ask themselves ''are you better off than you were four years ago? Is it easier for you to buy things in the store than it was four years ago?'' Jimmy Carter oversaw the painful stagflation of the late 1970s and they answered no.
What's changed since then, especially after the 2008 financial crisis, economists tell me, is even though the number of jobs may be outstanding, the quality of those jobs have been eroding. This has been the case since Barack Obama's second term, when the unemployment rate fell to a low of 4.7 percent, but the weakness of the jobs market left an opening for Donald Trump to win support on his anti-free trade platform, betting on disaffected Midwesterners who'd seen their manufacturing jobs outsourced to countries with lower wages such as Mexico and China. When Trump became president, unemployment continued to slide to 3.5 percent, a 50-year low, even though he did very little to actually bring any of those manufacturing jobs back to the U.S. And these unemployment rates are all based on a shrinking workforce, largely because of the number of Boomers aging out of their jobs, though that's accelerated during the pandemic as people stayed home to do childcare or protect their health. When you factor in those people, and those who'd like to work even more than they are now, it makes for a wide cross-section of discontent.
While politics plays a significant role in how people see the economy '-- essentially flipping people's views of how things are going depending on who's in the Oval Office '-- the broader picture is a bleaker one. Work, in general, has just been getting harder and paying off less. ''The scales really have been tipped towards employers in general,'' said Elise Gould, a labor economist at the Economic Policy Institute. ''Workers feel disenfranchised. Even higher-wage workers feel like they can't quit their jobs to take another one because they are bound by non-compete agreements or other factors that have not allowed them to have the freedom to go and get another job in their field.'' Another way to look at it is through labor productivity, essentially a measure of a worker's output, which has been steadily rising since the 1950s, while real wages didn't really go anywhere for decades until recently. So when the pandemic hit, lingering problems of job insecurity, low wages, and paltry benefits only became more evident. ''People don't look at the unemployment rate and decide how they feel about jobs. They look at their paycheck. They look at the career path that they have, if they have one,'' said Claudia Sahm, a former staff economist and section chief at the Federal Reserve. ''They look at the benefits, if they have them.''
At the end of December, Biden touted his record on jobs: ''When I came into office, our economy was in crisis. But over the last 11 months, we've added nearly 6 million jobs. That's the largest increase in recorded history.'' But in the coming months, it won't be the White House that sets the agenda on hiring, but the Federal Reserve. The central bank, which has a dual mandate of keeping employment high and inflation low, is likely to escalate its war on rising prices some time next year by raising interest rates and making it more expensive to borrow money. Even though it's evident that there are much more people who want to work than actually can, the swift decrease in the unemployment rate brings the U.S. closer to full employment. So when rates rise, Sahm says, that would double as a way of saying that hiring needs to slow down to keep the economy from overheating. ''The Fed has the biggest bully pulpit on the economy,'' Sahm said. ''When the Fed says the labor market is as good as it gets, that is a signal to every policymaker, every business person.''
Sign Up for the Intelligencer NewsletterDaily news about the politics, business, and technology shaping our world.
By submitting your email, you agree to our Terms and Privacy Notice and to receive email correspondence from us. Everyone Has a Job and Nobody's HappyThings you buy through our links may earn New York a commission.
fiascos
Novak Djokovic Beats Australia (for Now)
By Matt Stieb and Benjamin Hart
The vaccine skeptic and World No. 1 has at least temporarily avoided deportation. But this farcical saga isn't over yet.
disaster
Bronx Apartment-Building Fire Kills at Least 19: Updates
By Intelligencer Staff
Smoke quickly filled the 19-story building, overwhelming residents as they tried to escape.
the money game
Washington, D.C., Has an Insider-Trading Problem
By Michelle Celarier
Why are Fed governors trading as they move markets? Why is Nancy Pelosi speculating on Tesla shares?
space
5 Things to Look Forward to Now That the Webb Telescope Is Fully Deployed
By Paola Rosa-Aquino
The life-hunting, image-grabbing, handiwork-inspiring time machine may be able to keep demystifying the universe for the next 20 years.
covid-19
Djokovic Versus Australia
By Aaron Timms
The heavyweight battle is the perfectly absurd diplomatic incident of the COVID era.
1/8/2022unidentified aerial phenomena
unidentified aerial phenomena
Pentagon's New UFO Office Worries Some Ufologists
By Paola Rosa-Aquino
They're skeptical the Defense Department will share what it learns about unidentified aerial phenomena.
covid-19
Will the Omicron Wave Break Nursing?
By Aaron Short
The profession lured people with secure, high-paying jobs. After two years of COVID, many nurses are reconsidering.
heels
Novak Djokovic Is Still Caught in Australian Limbo
By Benjamin Hart
As the country continues its effort to deport him per its vaccination rules, the star's family and supporters are casting him as a political prisoner.
2022 midterms
Will This Be the Year Senator Ron Johnson's Luck Runs Out?
By Ed Kilgore
He's a loud-and-proud yahoo running for reelection in a battleground state, but that doesn't guarantee he'll be an easy target for Democrats.
january 6
What Will It Take to Stop a 2024 Election Coup?
By Ed Kilgore
A warning from election-law expert Rick Hasen suggests options for stopping state legislatures from stealing electoral votes may be limited.
covid-19
Where to Get Home COVID Tests and Why They're So Hard to Find
By Margaret Hartmann
Free home COVID tests are supposedly coming later this month. Here are your current options, where to buy them, and why they're often sold out.
covid-19
America's Omicron Wave Already Looks More Severe Than Europe's
By David Wallace-Wells
New York's hospitalization data may not bode well for the rest of the country.
covid
USPS to Deliver Free COVID Tests '... Sometime Soon?
By Margaret Hartmann
The Biden administration is ''finalizing'' plans to send an unknown number of COVID tests to Americans who want them at some point in the coming weeks.
politics
Adams Taps Ex-Cop Implicated in Bribery Scandal to Serve in City Hall
By Nia Prater
Banks was previously named as an unindicted co-conspirator in a federal corruption investigation.
politics
Why Biden Finally Went After Trump on January 6
By Ed Kilgore
It was a no-brainer for a commemoration of the insurrection Trump incited, but the bigger question is whether Biden keeps at it.
business
Citi's Savvy Slow-Roll of the Return to Office
By Kevin T. Dugan
After poaching some of Wall Street's stars with a reputation as the best WFH bank, they're enforcing a vaccine mandate.
covid
Your Tap Water Doesn't Need to Take a COVID Test
By Margaret Hartmann
Viral videos show people getting positive results from water and soda. They only prove that people are willing to waste home COVID tests.
the economy
Everyone Has a Job and Nobody's Happy
By Kevin T. Dugan
Why full employment doesn't mean what it used to.
omicron
The City's Teachers Confess They Want to Go Remote
By Sarah Jones and James D. Walsh
Battered by Omicron, many feel hung out to dry by the city and even their own union.
1/6/2022the national interest
the national interest
Ted Cruz Begs Carlson's Forgiveness for Being Mean to Violent Insurrectionists
By Jonathan Chait
Cruz traded one of his few remaining scraps of dignity for a kind word on Fox News on Thursday night.
january 6
Newt Gingrich Tries and Fails to Use Lincoln to Attack Biden
By Ed Kilgore
The former Speaker's description of Lincoln's Second Inaugural Address as a ''unity'' speech suggests he hasn't read it in a while.
january 6
There Are Still Confederates in the U.S. Capitol
By Ed Kilgore
Even as Joe Biden noted with horror January 6 insurrectionists carrying rebel flags, he was surrounded by images of Confederate leaders and officers.
politics
Matt Gaetz and Marjorie Taylor Greene Speak for the GOP on January 6
By Ben Jacobs
Establishment Republicans stay away, leaving the MAGA fringe to play.
1/6/2022never stop never trumping
never stop never trumping
Don't Worry, Former Trump Aides Are Still Trying to 'Stop' Him
By Margaret Hartmann
Stephanie Grisham says the resistance inside the (former) Trump administration is working on a plan. This will surely work.
2022 midterms
Oregon Says Nick Kristof Can't Run for Governor, As He Doesn't Live There
By Ed Kilgore
The state said the former New York Times columnist doesn't meet residency requirements. He plans to challenge the decision in court.
"]:[0,"",""]};function parse(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var a=/",""],map.option=map.optgroup=[1,'"],map.thead=map.tbody=map.colgroup=map.caption=map.tfoot=[1,""],map.polyline=map.ellipse=map.polygon=map.circle=map.text=map.line=map.path=map.rect=map.g=[1,'',""];}, {}];window.modules["386"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),types_1=require(390),utils_1=require(391),eventbuilder_1=require(387),transports_1=require(392),BrowserBackend=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tslib_1.__extends(e,t),e.prototype.eventFromException=function(t,e){return eventbuilder_1.eventFromException(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,r){return void 0===e&&(e=types_1.Severity.Info),eventbuilder_1.eventFromMessage(this._options,t,e,r)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=tslib_1.__assign(tslib_1.__assign({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):utils_1.supportsFetch()?new transports_1.FetchTransport(e):new transports_1.XHRTransport(e)},e}(core_1.BaseBackend);exports.BrowserBackend=BrowserBackend;}, {"387":387,"388":388,"389":389,"390":390,"391":391,"392":392}];window.modules["387"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),types_1=require(390),utils_1=require(391),parsers_1=require(397),tracekit_1=require(396);function eventFromException(e,t,r){var n=eventFromUnknownInput(t,r&&r.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return utils_1.addExceptionMechanism(n,{handled:!0,type:"generic"}),n.level=types_1.Severity.Error,r&&r.event_id&&(n.event_id=r.event_id),utils_1.SyncPromise.resolve(n)}function eventFromMessage(e,t,r,n){void 0===r&&(r=types_1.Severity.Info);var i=eventFromString(t,n&&n.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return i.level=r,n&&n.event_id&&(i.event_id=n.event_id),utils_1.SyncPromise.resolve(i)}function eventFromUnknownInput(e,t,r){var n;if(void 0===r&&(r={}),utils_1.isErrorEvent(e)&&e.error)return e=e.error,n=parsers_1.eventFromStacktrace(tracekit_1.computeStackTrace(e));if(utils_1.isDOMError(e)||utils_1.isDOMException(e)){var i=e,s=i.name||(utils_1.isDOMError(i)?"DOMError":"DOMException"),a=i.message?s+": "+i.message:s;return n=eventFromString(a,t,r),utils_1.addExceptionTypeValue(n,a),"code"in i&&(n.tags=tslib_1.__assign(tslib_1.__assign({},n.tags),{"DOMException.code":""+i.code})),n}if(utils_1.isError(e))return n=parsers_1.eventFromStacktrace(tracekit_1.computeStackTrace(e));if(utils_1.isPlainObject(e)||utils_1.isEvent(e)){var o=e;return n=parsers_1.eventFromPlainObject(o,t,r.rejection),utils_1.addExceptionMechanism(n,{synthetic:!0}),n}return n=eventFromString(e,t,r),utils_1.addExceptionTypeValue(n,""+e,void 0),utils_1.addExceptionMechanism(n,{synthetic:!0}),n}function eventFromString(e,t,r){void 0===r&&(r={});var n={message:e};if(r.attachStacktrace&&t){var i=tracekit_1.computeStackTrace(t),s=parsers_1.prepareFramesForEvent(i.stack);n.stacktrace={frames:s}}return n}exports.eventFromException=eventFromException,exports.eventFromMessage=eventFromMessage,exports.eventFromUnknownInput=eventFromUnknownInput,exports.eventFromString=eventFromString;}, {"388":388,"390":390,"391":391,"396":396,"397":397}];window.modules["388"] = [function(require,module,exports){(function (global){(function (){var __extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__exportStar,__values,__read,__spread,__spreadArrays,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__createBinding;!function(e){var t="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function r(e,r){return e!==t&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(t,n){return e[t]=r?r(t,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):"object"==typeof module&&"object"==typeof module.exports?e(r(t,r(module.exports))):e(r(t))}(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};__extends=function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;i--)(o=e[i])&&(_=(a3?o(t,r,_):o(t,r))||_);return a>3&&_&&Object.defineProperty(t,r,_),_},__param=function(e,t){return function(r,n){t(r,n,e)}},__metadata=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter=function(e,t,r,n){return new(r||(r=Promise))(function(o,a){function _(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(_,i)}c((n=n.apply(e,t||[])).next())})},__generator=function(e,t){var r,n,o,a,_={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;_;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return _.label++,{value:a[1],done:!1};case 5:_.label++,n=a[1],a=[0];continue;case 7:a=_.ops.pop(),_.trys.pop();continue;default:if(!(o=(o=_.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){_=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__read=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),_=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)_.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return _},__spread=function(){for(var e=[],t=0;t1||i(e,t)})})}function i(e,t){try{(r=o[e](t)).value instanceof __await?Promise.resolve(r.value.v).then(c,u):l(a[0][2],r)}catch(e){l(a[0][3],e)}var r}function c(e){i("next",e)}function u(e){i("throw",e)}function l(e,t){e(t),a.shift(),a.length&&i(a[0][0],a[0][1])}},__asyncDelegator=function(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:"return"===n}:o?o(t):t}:o}},__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,o,(t=e[r](t)).done,t.value)})}}},__makeTemplateObject=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},__importDefault=function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet=function(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r},e("__extends",__extends),e("__assign",__assign),e("__rest",__rest),e("__decorate",__decorate),e("__param",__param),e("__metadata",__metadata),e("__awaiter",__awaiter),e("__generator",__generator),e("__exportStar",__exportStar),e("__createBinding",__createBinding),e("__values",__values),e("__read",__read),e("__spread",__spread),e("__spreadArrays",__spreadArrays),e("__await",__await),e("__asyncGenerator",__asyncGenerator),e("__asyncDelegator",__asyncDelegator),e("__asyncValues",__asyncValues),e("__makeTemplateObject",__makeTemplateObject),e("__importStar",__importStar),e("__importDefault",__importDefault),e("__classPrivateFieldGet",__classPrivateFieldGet),e("__classPrivateFieldSet",__classPrivateFieldSet)});}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}];window.modules["389"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var minimal_1=require(419);exports.addBreadcrumb=minimal_1.addBreadcrumb,exports.captureException=minimal_1.captureException,exports.captureEvent=minimal_1.captureEvent,exports.captureMessage=minimal_1.captureMessage,exports.configureScope=minimal_1.configureScope,exports.startTransaction=minimal_1.startTransaction,exports.setContext=minimal_1.setContext,exports.setExtra=minimal_1.setExtra,exports.setExtras=minimal_1.setExtras,exports.setTag=minimal_1.setTag,exports.setTags=minimal_1.setTags,exports.setUser=minimal_1.setUser,exports.withScope=minimal_1.withScope;var hub_1=require(414);exports.addGlobalEventProcessor=hub_1.addGlobalEventProcessor,exports.getCurrentHub=hub_1.getCurrentHub,exports.getHubFromCarrier=hub_1.getHubFromCarrier,exports.Hub=hub_1.Hub,exports.makeMain=hub_1.makeMain,exports.Scope=hub_1.Scope;var api_1=require(410);exports.API=api_1.API;var baseclient_1=require(413);exports.BaseClient=baseclient_1.BaseClient;var basebackend_1=require(411);exports.BaseBackend=basebackend_1.BaseBackend;var request_1=require(417);exports.eventToSentryRequest=request_1.eventToSentryRequest,exports.sessionToSentryRequest=request_1.sessionToSentryRequest;var sdk_1=require(418);exports.initAndBind=sdk_1.initAndBind;var noop_1=require(412);exports.NoopTransport=noop_1.NoopTransport;var version_1=require(416);exports.SDK_VERSION=version_1.SDK_VERSION;var Integrations=require(420);exports.Integrations=Integrations;}, {"410":410,"411":411,"412":412,"413":413,"414":414,"416":416,"417":417,"418":418,"419":419,"420":420}];window.modules["390"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var loglevel_1=require(427);exports.LogLevel=loglevel_1.LogLevel;var session_1=require(429);exports.SessionStatus=session_1.SessionStatus,exports.RequestSessionStatus=session_1.RequestSessionStatus;var severity_1=require(428);exports.Severity=severity_1.Severity;var status_1=require(430);exports.Status=status_1.Status;var transaction_1=require(431);exports.TransactionSamplingMethod=transaction_1.TransactionSamplingMethod;}, {"427":427,"428":428,"429":429,"430":430,"431":431}];window.modules["391"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388);tslib_1.__exportStar(require(432),exports),tslib_1.__exportStar(require(433),exports),tslib_1.__exportStar(require(435),exports),tslib_1.__exportStar(require(436),exports),tslib_1.__exportStar(require(450),exports),tslib_1.__exportStar(require(434),exports),tslib_1.__exportStar(require(442),exports),tslib_1.__exportStar(require(438),exports),tslib_1.__exportStar(require(443),exports),tslib_1.__exportStar(require(441),exports),tslib_1.__exportStar(require(449),exports),tslib_1.__exportStar(require(439),exports),tslib_1.__exportStar(require(445),exports),tslib_1.__exportStar(require(440),exports),tslib_1.__exportStar(require(444),exports),tslib_1.__exportStar(require(447),exports),tslib_1.__exportStar(require(446),exports),tslib_1.__exportStar(require(448),exports);}, {"388":388,"432":432,"433":433,"434":434,"435":435,"436":436,"438":438,"439":439,"440":440,"441":441,"442":442,"443":443,"444":444,"445":445,"446":446,"447":447,"448":448,"449":449,"450":450}];window.modules["392"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var base_1=require(407);exports.BaseTransport=base_1.BaseTransport;var fetch_1=require(408);exports.FetchTransport=fetch_1.FetchTransport;var xhr_1=require(409);exports.XHRTransport=xhr_1.XHRTransport;}, {"407":407,"408":408,"409":409}];window.modules["393"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),utils_1=require(391),backend_1=require(386),helpers_1=require(394),integrations_1=require(395),BrowserClient=function(e){function t(t){void 0===t&&(t={});return t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:core_1.SDK_VERSION}],version:core_1.SDK_VERSION},e.call(this,backend_1.BrowserBackend,t)||this}return tslib_1.__extends(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),utils_1.getGlobalObject().document&&(this._isEnabled()?helpers_1.injectReportDialog(tslib_1.__assign(tslib_1.__assign({},e),{dsn:e.dsn||this.getDsn()})):utils_1.logger.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,r,n){return t.platform=t.platform||"javascript",e.prototype._prepareEvent.call(this,t,r,n)},t.prototype._sendEvent=function(t){var r=this.getIntegration(integrations_1.Breadcrumbs);r&&r.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(core_1.BaseClient);exports.BrowserClient=BrowserClient;}, {"386":386,"388":388,"389":389,"391":391,"394":394,"395":395}];window.modules["394"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),utils_1=require(391),ignoreOnError=0;function shouldIgnoreOnError(){return ignoreOnError>0}function ignoreNextOnError(){ignoreOnError+=1,setTimeout(function(){ignoreOnError-=1})}function wrap(r,e,t){if(void 0===e&&(e={}),"function"!=typeof r)return r;try{if(r.__sentry__)return r;if(r.__sentry_wrapped__)return r.__sentry_wrapped__}catch(e){return r}var n=function(){var n=Array.prototype.slice.call(arguments);try{t&&"function"==typeof t&&t.apply(this,arguments);var o=n.map(function(r){return wrap(r,e)});return r.handleEvent?r.handleEvent.apply(this,o):r.apply(this,o)}catch(r){throw ignoreNextOnError(),core_1.withScope(function(t){t.addEventProcessor(function(r){var t=tslib_1.__assign({},r);return e.mechanism&&(utils_1.addExceptionTypeValue(t,void 0,void 0),utils_1.addExceptionMechanism(t,e.mechanism)),t.extra=tslib_1.__assign(tslib_1.__assign({},t.extra),{arguments:n}),t}),core_1.captureException(r)}),r}};try{for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}catch(r){}r.prototype=r.prototype||{},n.prototype=r.prototype,Object.defineProperty(r,"__sentry_wrapped__",{enumerable:!1,value:n}),Object.defineProperties(n,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r}});try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:function(){return r.name}})}catch(r){}return n}function injectReportDialog(r){if(void 0===r&&(r={}),r.eventId)if(r.dsn){var e=document.createElement("script");e.async=!0,e.src=new core_1.API(r.dsn).getReportDialogEndpoint(r),r.onLoad&&(e.onload=r.onLoad),(document.head||document.body).appendChild(e)}else utils_1.logger.error("Missing dsn option in showReportDialog call");else utils_1.logger.error("Missing eventId option in showReportDialog call")}exports.shouldIgnoreOnError=shouldIgnoreOnError,exports.ignoreNextOnError=ignoreNextOnError,exports.wrap=wrap,exports.injectReportDialog=injectReportDialog;}, {"388":388,"389":389,"391":391}];window.modules["395"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var globalhandlers_1=require(403);exports.GlobalHandlers=globalhandlers_1.GlobalHandlers;var trycatch_1=require(404);exports.TryCatch=trycatch_1.TryCatch;var breadcrumbs_1=require(402);exports.Breadcrumbs=breadcrumbs_1.Breadcrumbs;var linkederrors_1=require(405);exports.LinkedErrors=linkederrors_1.LinkedErrors;var useragent_1=require(406);exports.UserAgent=useragent_1.UserAgent;}, {"402":402,"403":403,"404":404,"405":405,"406":406}];window.modules["396"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),UNKNOWN_FUNCTION="?",chrome=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gecko=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,winjs=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,geckoEval=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,chromeEval=/\((\S*)(?::(\d+))(?::(\d+))\)/,reactMinifiedRegexp=/Minified React error #\d+;/i;function computeStackTrace(e){var n=null,a=0;e&&("number"==typeof e.framesToPop?a=e.framesToPop:reactMinifiedRegexp.test(e.message)&&(a=1));try{if(n=computeStackTraceFromStacktraceProp(e))return popFrames(n,a)}catch(e){}try{if(n=computeStackTraceFromStackProp(e))return popFrames(n,a)}catch(e){}return{message:extractMessage(e),name:e&&e.name,stack:[],failed:!0}}function computeStackTraceFromStackProp(e){if(!e||!e.stack)return null;for(var n,a,r,t=[],c=e.stack.split("\n"),s=0;s eval")>-1&&(n=geckoEval.exec(a[3]))?(a[1]=a[1]||"eval",a[3]=n[1],a[4]=n[2],a[5]=""):0!==s||a[5]||void 0===e.columnNumber||(t[0].column=e.columnNumber+1),r={url:a[3],func:a[1]||UNKNOWN_FUNCTION,args:a[2]?a[2].split(","):[],line:a[4]?+a[4]:null,column:a[5]?+a[5]:null}}!r.func&&r.line&&(r.func=UNKNOWN_FUNCTION),t.push(r)}return t.length?{message:extractMessage(e),name:e.name,stack:t}:null}function computeStackTraceFromStacktraceProp(e){if(!e||!e.stacktrace)return null;for(var n,a=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,r=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,t=e.stacktrace.split("\n"),c=[],s=0;s"}0!==e.length&&core_1.getCurrentHub().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},r=e.method,a=e.url,o=e.status_code,s=e.body;core_1.getCurrentHub().addBreadcrumb({category:"xhr",data:{method:r,url:a,status_code:o},type:"http"},{xhr:t.xhr,input:s})}else;},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?core_1.getCurrentHub().addBreadcrumb({category:"fetch",data:t.fetchData,level:types_1.Severity.Error,type:"http"},{data:t.error,input:t.args}):core_1.getCurrentHub().addBreadcrumb({category:"fetch",data:tslib_1.__assign(tslib_1.__assign({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=utils_1.getGlobalObject(),r=t.from,a=t.to,o=utils_1.parseUrl(e.location.href),s=utils_1.parseUrl(r),n=utils_1.parseUrl(a);s.path||(s=o),o.protocol===n.protocol&&o.host===n.host&&(a=n.relative),o.protocol===s.protocol&&o.host===s.host&&(r=s.relative),core_1.getCurrentHub().addBreadcrumb({category:"navigation",data:{from:r,to:a}})},t.id="Breadcrumbs",t}();exports.Breadcrumbs=Breadcrumbs;}, {"388":388,"389":389,"390":390,"391":391}];window.modules["403"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),types_1=require(390),utils_1=require(391),eventbuilder_1=require(387),helpers_1=require(394),GlobalHandlers=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=tslib_1.__assign({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(utils_1.logger.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(utils_1.logger.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){var t=this;this._onErrorHandlerInstalled||(utils_1.addInstrumentationHandler({callback:function(n){var r=n.error,i=core_1.getCurrentHub(),a=i.getIntegration(e),o=r&&!0===r.__sentry_own_request__;if(a&&!helpers_1.shouldIgnoreOnError()&&!o){var l=i.getClient(),s=utils_1.isPrimitive(r)?t._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):t._enhanceEventWithInitialFrame(eventbuilder_1.eventFromUnknownInput(r,void 0,{attachStacktrace:l&&l.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);utils_1.addExceptionMechanism(s,{handled:!1,type:"onerror"}),i.captureEvent(s,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(utils_1.addInstrumentationHandler({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(e){}var i=core_1.getCurrentHub(),a=i.getIntegration(e),o=r&&!0===r.__sentry_own_request__;if(!a||helpers_1.shouldIgnoreOnError()||o)return!0;var l=i.getClient(),s=utils_1.isPrimitive(r)?t._eventFromRejectionWithPrimitive(r):eventbuilder_1.eventFromUnknownInput(r,void 0,{attachStacktrace:l&&l.getOptions().attachStacktrace,rejection:!0});s.level=types_1.Severity.Error,utils_1.addExceptionMechanism(s,{handled:!1,type:"onunhandledrejection"}),i.captureEvent(s,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,n,r){var i,a=utils_1.isErrorEvent(e)?e.message:e;if(utils_1.isString(a)){var o=a.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);o&&(i=o[1],a=o[2])}var l={exception:{values:[{type:i||"Error",value:a}]}};return this._enhanceEventWithInitialFrame(l,t,n,r)},e.prototype._eventFromRejectionWithPrimitive=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(e)}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,n,r){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var i=isNaN(parseInt(r,10))?void 0:r,a=isNaN(parseInt(n,10))?void 0:n,o=utils_1.isString(t)&&t.length>0?t:utils_1.getLocationHref();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:i,filename:o,function:"?",in_app:!0,lineno:a}),e},e.id="GlobalHandlers",e}();exports.GlobalHandlers=GlobalHandlers;}, {"387":387,"388":388,"389":389,"390":390,"391":391,"394":394}];window.modules["404"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),utils_1=require(391),helpers_1=require(394),DEFAULT_EVENT_TARGET=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],TryCatch=function(){function t(e){this.name=t.id,this._options=tslib_1.__assign({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=utils_1.getGlobalObject();(this._options.setTimeout&&utils_1.fill(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&utils_1.fill(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&utils_1.fill(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&utils_1.fill(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:DEFAULT_EVENT_TARGET).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n=this._limit)return t;var i=tracekit_1.computeStackTrace(r[e]),n=parsers_1.exceptionFromStacktrace(i);return this._walkErrorTree(r[e],e,tslib_1.__spread([n],t))},r.id="LinkedErrors",r}();exports.LinkedErrors=LinkedErrors;}, {"388":388,"389":389,"391":391,"396":396,"397":397}];window.modules["406"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),utils_1=require(391),global=utils_1.getGlobalObject(),UserAgent=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){core_1.addGlobalEventProcessor(function(r){var t,s,i;if(core_1.getCurrentHub().getIntegration(e)){if(!global.navigator&&!global.location&&!global.document)return r;var n=(null===(t=r.request)||void 0===t?void 0:t.url)||(null===(s=global.location)||void 0===s?void 0:s.href),l=(global.document||{}).referrer,o=(global.navigator||{}).userAgent,a=tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({},null===(i=r.request)||void 0===i?void 0:i.headers),l&&{Referer:l}),o&&{"User-Agent":o}),u=tslib_1.__assign(tslib_1.__assign({},n&&{url:n}),{headers:a});return tslib_1.__assign(tslib_1.__assign({},r),{request:u})}return r})},e.id="UserAgent",e}();exports.UserAgent=UserAgent;}, {"388":388,"389":389,"391":391}];window.modules["407"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),types_1=require(390),utils_1=require(391),CATEGORY_MAPPING={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},BaseTransport=function(){function t(t){this.options=t,this._buffer=new utils_1.PromiseBuffer(30),this._rateLimits={},this._api=new core_1.API(t.dsn,t._metadata,t.tunnel),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new utils_1.SentryError("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,r=t.response,s=t.headers,i=t.resolve,n=t.reject,a=types_1.Status.fromHttpCode(r.status);this._handleRateLimit(s)&&utils_1.logger.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),a!==types_1.Status.Success?n(r):i({status:a})},t.prototype._disabledUntil=function(t){var e=CATEGORY_MAPPING[t];return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,r,s,i,n=Date.now(),a=t["x-sentry-rate-limits"],o=t["retry-after"];if(a){try{for(var l=tslib_1.__values(a.trim().split(",")),u=l.next();!u.done;u=l.next()){var _=u.value.split(":",2),p=parseInt(_[0],10),d=1e3*(isNaN(p)?60:p);try{for(var f=(s=void 0,tslib_1.__values(_[1].split(";"))),h=f.next();!h.done;h=f.next()){var c=h.value;this._rateLimits[c||"all"]=new Date(n+d)}}catch(t){s={error:t}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return!0}return!!o&&(this._rateLimits.all=new Date(n+utils_1.parseRetryAfterHeader(n,o)),!0)},t}();exports.BaseTransport=BaseTransport;}, {"388":388,"389":389,"390":390,"391":391}];window.modules["408"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),utils_1=require(391),base_1=require(407);function getNativeFetchImplementation(){var e,t,r=utils_1.getGlobalObject();if(utils_1.isNativeFetch(r.fetch))return r.fetch.bind(r);var s=r.document,i=r.fetch;if("function"==typeof(null===(e=s)||void 0===e?void 0:e.createElement))try{var n=s.createElement("iframe");n.hidden=!0,s.head.appendChild(n),(null===(t=n.contentWindow)||void 0===t?void 0:t.fetch)&&(i=n.contentWindow.fetch),s.head.removeChild(n)}catch(e){utils_1.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return i.bind(r)}var FetchTransport=function(e){function t(t,r){void 0===r&&(r=getNativeFetchImplementation());var s=e.call(this,t)||this;return s._fetch=r,s}return tslib_1.__extends(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(core_1.eventToSentryRequest(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(core_1.sessionToSentryRequest(e,this._api),e)},t.prototype._sendRequest=function(e,t){var r=this;if(this._isRateLimited(e.type))return Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var s={body:e.body,method:"POST",referrerPolicy:utils_1.supportsReferrerPolicy()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(s,this.options.fetchParameters),void 0!==this.options.headers&&(s.headers=this.options.headers),this._buffer.add(new utils_1.SyncPromise(function(t,i){r._fetch(e.url,s).then(function(s){var n={"x-sentry-rate-limits":s.headers.get("X-Sentry-Rate-Limits"),"retry-after":s.headers.get("Retry-After")};r._handleResponse({requestType:e.type,response:s,headers:n,resolve:t,reject:i})}).catch(i)}))},t}(base_1.BaseTransport);exports.FetchTransport=FetchTransport;}, {"388":388,"389":389,"391":391,"407":407}];window.modules["409"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),core_1=require(389),utils_1=require(391),base_1=require(407),XHRTransport=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tslib_1.__extends(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(core_1.eventToSentryRequest(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(core_1.sessionToSentryRequest(e,this._api),e)},t.prototype._sendRequest=function(e,t){var s=this;return this._isRateLimited(e.type)?Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429}):this._buffer.add(new utils_1.SyncPromise(function(t,r){var n=new XMLHttpRequest;for(var o in n.onreadystatechange=function(){if(4===n.readyState){var o={"x-sentry-rate-limits":n.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":n.getResponseHeader("Retry-After")};s._handleResponse({requestType:e.type,response:n,headers:o,resolve:t,reject:r})}},n.open("POST",e.url),s.options.headers)s.options.headers.hasOwnProperty(o)&&n.setRequestHeader(o,s.options.headers[o]);n.send(e.body)}))},t}(base_1.BaseTransport);exports.XHRTransport=XHRTransport;}, {"388":388,"389":389,"391":391,"407":407}];window.modules["410"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(391),SENTRY_API_VERSION="7",API=function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new utils_1.Dsn(t),this.metadata=e,this._tunnel=n}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){var t=this.getDsn(),e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this.getDsn();return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this.getDsn(),o=["Sentry sentry_version="+SENTRY_API_VERSION];return o.push("sentry_client="+t+"/"+e),o.push("sentry_key="+n.publicKey),n.pass&&o.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":o.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this.getDsn(),n=this.getBaseApiEndpoint()+"embed/error-page/",o=[];for(var r in o.push("dsn="+e.toString()),t)if("dsn"!==r)if("user"===r){if(!t.user)continue;t.user.name&&o.push("name="+encodeURIComponent(t.user.name)),t.user.email&&o.push("email="+encodeURIComponent(t.user.email))}else o.push(encodeURIComponent(r)+"="+encodeURIComponent(t[r]));return o.length?n+"?"+o.join("&"):n},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return this._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this.getDsn().publicKey,sentry_version:SENTRY_API_VERSION};return utils_1.urlEncode(t)},t}();exports.API=API;}, {"391":391}];window.modules["411"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(391),noop_1=require(412),BaseBackend=function(){function t(t){this._options=t,this._options.dsn||utils_1.logger.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new utils_1.SentryError("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new utils_1.SentryError("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,function(t){utils_1.logger.error("Error while sending event: "+t)})},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,function(t){utils_1.logger.error("Error while sending session: "+t)}):utils_1.logger.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new noop_1.NoopTransport},t}();exports.BaseBackend=BaseBackend;}, {"391":391,"412":412}];window.modules["412"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(390),utils_1=require(391),NoopTransport=function(){function e(){}return e.prototype.sendEvent=function(e){return utils_1.SyncPromise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:types_1.Status.Skipped})},e.prototype.close=function(e){return utils_1.SyncPromise.resolve(!0)},e}();exports.NoopTransport=NoopTransport;}, {"390":390,"391":391}];window.modules["413"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),hub_1=require(414),types_1=require(390),utils_1=require(391),integration_1=require(415),BaseClient=function(){function t(t,e){this._integrations={},this._processing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new utils_1.Dsn(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this,i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return r._captureEvent(t,e,n)}).then(function(t){i=t})),i},t.prototype.captureMessage=function(t,e,n,r){var i=this,s=n&&n.event_id,o=utils_1.isPrimitive(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(o.then(function(t){return i._captureEvent(t,n,r)}).then(function(t){s=t})),s},t.prototype.captureEvent=function(t,e,n){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then(function(t){r=t})),r},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?utils_1.logger.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):utils_1.logger.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then(function(n){return e._getBackend().getTransport().close(t).then(function(t){return n&&t})})},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=integration_1.setupIntegrations(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return utils_1.logger.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,i=!1,s=!1,o=e.exception&&e.exception.values;if(o){s=!0;try{for(var a=tslib_1.__values(o),u=a.next();!u.done;u=a.next()){var l=u.value.mechanism;if(l&&!1===l.handled){i=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}var _=t.status===types_1.SessionStatus.Ok;(_&&0===t.errors||_&&i)&&(t.update(tslib_1.__assign(tslib_1.__assign({},i&&{status:types_1.SessionStatus.Crashed}),{errors:t.errors||Number(s||i)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientProcessing=function(t){var e=this;return new utils_1.SyncPromise(function(n){var r=0,i=setInterval(function(){0==e._processing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!1)))},1)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,i=this.getOptions().normalizeDepth,s=void 0===i?3:i,o=tslib_1.__assign(tslib_1.__assign({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:utils_1.uuid4()),timestamp:t.timestamp||utils_1.dateTimestampInSeconds()});this._applyClientOptions(o),this._applyIntegrationsMetadata(o);var a=e;n&&n.captureContext&&(a=hub_1.Scope.clone(a).update(n.captureContext));var u=utils_1.SyncPromise.resolve(o);return a&&(u=a.applyToEvent(o,n)),u.then(function(t){return"number"==typeof s&&s>0?r._normalizeEvent(t,s):t})},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return tslib_1.__assign(tslib_1.__assign({},t),t.data&&{data:utils_1.normalize(t.data,e)})})}),t.user&&{user:utils_1.normalize(t.user,e)}),t.contexts&&{contexts:utils_1.normalize(t.contexts,e)}),t.extra&&{extra:utils_1.normalize(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,s=e.maxValueLength,o=void 0===s?250:s;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=utils_1.truncate(t.message,o));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=utils_1.truncate(a.value,o));var u=t.request;u&&u.url&&(u.url=utils_1.truncate(u.url,o))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=tslib_1.__spread(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then(function(t){return t.event_id},function(t){utils_1.logger.error(t)})},t.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),s=i.beforeSend,o=i.sampleRate;if(!this._isEnabled())return utils_1.SyncPromise.reject(new utils_1.SentryError("SDK not enabled, will not capture event."));var a="transaction"===t.type;return!a&&"number"==typeof o&&Math.random()>o?utils_1.SyncPromise.reject(new utils_1.SentryError("Discarding event because it's not included in the random sample (sampling rate = "+o+")")):this._prepareEvent(t,n,e).then(function(t){if(null===t)throw new utils_1.SentryError("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||a||!s)return t;var n=s(t,e);return r._ensureBeforeSendRv(n)}).then(function(t){if(null===t)throw new utils_1.SentryError("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!a&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t}).then(null,function(t){if(t instanceof utils_1.SentryError)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new utils_1.SentryError("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype._process=function(t){var e=this;this._processing+=1,t.then(function(t){return e._processing-=1,t},function(t){return e._processing-=1,t})},t.prototype._ensureBeforeSendRv=function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(utils_1.isThenable(t))return t.then(function(t){if(!utils_1.isPlainObject(t)&&null!==t)throw new utils_1.SentryError(e);return t},function(t){throw new utils_1.SentryError("beforeSend rejected with "+t)});if(!utils_1.isPlainObject(t)&&null!==t)throw new utils_1.SentryError(e);return t},t}();exports.BaseClient=BaseClient;}, {"388":388,"390":390,"391":391,"414":414,"415":415}];window.modules["414"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var scope_1=require(424);exports.addGlobalEventProcessor=scope_1.addGlobalEventProcessor,exports.Scope=scope_1.Scope;var session_1=require(425);exports.Session=session_1.Session;var sessionFlusher_1=require(426);exports.SessionFlusher=sessionFlusher_1.SessionFlusher;var hub_1=require(423);exports.getActiveDomain=hub_1.getActiveDomain,exports.getCurrentHub=hub_1.getCurrentHub,exports.getHubFromCarrier=hub_1.getHubFromCarrier,exports.getMainCarrier=hub_1.getMainCarrier,exports.Hub=hub_1.Hub,exports.makeMain=hub_1.makeMain,exports.setHubOnCarrier=hub_1.setHubOnCarrier;}, {"423":423,"424":424,"425":425,"426":426}];window.modules["415"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),hub_1=require(414),utils_1=require(391);function filterDuplicates(e){return e.reduce(function(e,t){return e.every(function(e){return t.name!==e.name})&&e.push(t),e},[])}function getIntegrationsToSetup(e){var t=e.defaultIntegrations&&tslib_1.__spread(e.defaultIntegrations)||[],n=e.integrations,r=tslib_1.__spread(filterDuplicates(t));Array.isArray(n)?r=tslib_1.__spread(r.filter(function(e){return n.every(function(t){return t.name!==e.name})}),filterDuplicates(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map(function(e){return e.name});return-1!==i.indexOf("Debug")&&r.push.apply(r,tslib_1.__spread(r.splice(i.indexOf("Debug"),1))),r}function setupIntegration(e){-1===exports.installedIntegrations.indexOf(e.name)&&(e.setupOnce(hub_1.addGlobalEventProcessor,hub_1.getCurrentHub),exports.installedIntegrations.push(e.name),utils_1.logger.log("Integration installed: "+e.name))}function setupIntegrations(e){var t={};return getIntegrationsToSetup(e).forEach(function(e){t[e.name]=e,setupIntegration(e)}),t}exports.installedIntegrations=[],exports.getIntegrationsToSetup=getIntegrationsToSetup,exports.setupIntegration=setupIntegration,exports.setupIntegrations=setupIntegrations;}, {"388":388,"391":391,"414":414}];window.modules["416"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDK_VERSION="6.7.2";}, {}];window.modules["417"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388);function getSdkMetadataForEnvelopeHeader(e){if(e.metadata&&e.metadata.sdk){var t=e.metadata.sdk;return{name:t.name,version:t.version}}}function enhanceEventWithSdkInfo(e,t){return t?(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=tslib_1.__spread(e.sdk.integrations||[],t.integrations||[]),e.sdk.packages=tslib_1.__spread(e.sdk.packages||[],t.packages||[]),e):e}function sessionToSentryRequest(e,t){var n=getSdkMetadataForEnvelopeHeader(t),s="aggregates"in e?"sessions":"session";return{body:JSON.stringify(tslib_1.__assign(tslib_1.__assign({sent_at:(new Date).toISOString()},n&&{sdk:n}),t.forceEnvelope()&&{dsn:t.getDsn().toString()}))+"\n"+JSON.stringify({type:s})+"\n"+JSON.stringify(e),type:s,url:t.getEnvelopeEndpointWithUrlEncodedAuth()}}function eventToSentryRequest(e,t){var n=getSdkMetadataForEnvelopeHeader(t),s=e.type||"event",a="transaction"===s||t.forceEnvelope(),i=e.debug_meta||{},r=i.transactionSampling,o=tslib_1.__rest(i,["transactionSampling"]),d=r||{},g=d.method,_=d.rate;0===Object.keys(o).length?delete e.debug_meta:e.debug_meta=o;var l={body:JSON.stringify(n?enhanceEventWithSdkInfo(e,t.metadata.sdk):e),type:s,url:a?t.getEnvelopeEndpointWithUrlEncodedAuth():t.getStoreEndpointWithUrlEncodedAuth()};if(a){var p=JSON.stringify(tslib_1.__assign(tslib_1.__assign({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),t.forceEnvelope()&&{dsn:t.getDsn().toString()}))+"\n"+JSON.stringify({type:s,sample_rates:[{id:g,rate:_}]})+"\n"+l.body;l.body=p}return l}exports.sessionToSentryRequest=sessionToSentryRequest,exports.eventToSentryRequest=eventToSentryRequest;}, {"388":388}];window.modules["418"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var hub_1=require(414),utils_1=require(391);function initAndBind(e,i){var n;!0===i.debug&&utils_1.logger.enable();var t=hub_1.getCurrentHub();null===(n=t.getScope())||void 0===n||n.update(i.initialScope);var r=new e(i);t.bindClient(r)}exports.initAndBind=initAndBind;}, {"391":391,"414":414}];window.modules["419"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),hub_1=require(414);function callOnHub(t){for(var e=[],r=1;r0?t.breadcrumbs:void 0,this._notifyEventProcessors(tslib_1.__spread(getGlobalEventProcessors(),this._eventProcessors),t,s)},t.prototype._notifyEventProcessors=function(t,s,e,i){var n=this;return void 0===i&&(i=0),new utils_1.SyncPromise(function(r,_){var o=t[i];if(null===s||"function"!=typeof o)r(s);else{var a=o(tslib_1.__assign({},s),e);utils_1.isThenable(a)?a.then(function(s){return n._notifyEventProcessors(t,s,e,i+1).then(r)}).then(null,_):n._notifyEventProcessors(t,a,e,i+1).then(r).then(null,_)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(s){s(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function getGlobalEventProcessors(){var t=utils_1.getGlobalObject();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function addGlobalEventProcessor(t){getGlobalEventProcessors().push(t)}exports.Scope=Scope,exports.addGlobalEventProcessor=addGlobalEventProcessor;}, {"388":388,"391":391}];window.modules["425"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(390),utils_1=require(391),Session=function(){function t(t){this.errors=0,this.sid=utils_1.uuid4(),this.duration=0,this.status=types_1.SessionStatus.Ok,this.init=!0,this.ignoreDuration=!1;var s=utils_1.timestampInSeconds();this.timestamp=s,this.started=s,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||utils_1.timestampInSeconds(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:utils_1.uuid4()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var s=this.timestamp-this.started;this.duration=s>=0?s:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):this.status===types_1.SessionStatus.Ok?this.update({status:types_1.SessionStatus.Exited}):this.update()},t.prototype.toJSON=function(){return utils_1.dropUndefinedKeys({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:utils_1.dropUndefinedKeys({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}();exports.Session=Session;}, {"390":390,"391":391}];window.modules["426"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(390),utils_1=require(391),hub_1=require(423),SessionFlusher=function(){function e(e,s){var t=this;this.flushTimeout=60,this._pendingAggregates={},this._isEnabled=!0,this._transport=e,this._intervalId=setInterval(function(){return t.flush()},1e3*this.flushTimeout),this._sessionAttrs=s}return e.prototype.sendSessionAggregates=function(e){this._transport.sendSession?this._transport.sendSession(e).then(null,function(e){utils_1.logger.error("Error while sending session: "+e)}):utils_1.logger.warn("Dropping session because custom transport doesn't implement sendSession")},e.prototype.flush=function(){var e=this.getSessionAggregates();0!==e.aggregates.length&&(this._pendingAggregates={},this.sendSessionAggregates(e))},e.prototype.getSessionAggregates=function(){var e=this,s=Object.keys(this._pendingAggregates).map(function(s){return e._pendingAggregates[parseInt(s)]}),t={attrs:this._sessionAttrs,aggregates:s};return utils_1.dropUndefinedKeys(t)},e.prototype.close=function(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()},e.prototype.incrementSessionStatusCount=function(){var e,s;if(this._isEnabled){var t=hub_1.getCurrentHub().getScope(),n=null===(e=t)||void 0===e?void 0:e.getRequestSession();n&&n.status&&(this._incrementSessionStatusCount(n.status,new Date),null===(s=t)||void 0===s||s.setRequestSession(void 0))}},e.prototype._incrementSessionStatusCount=function(e,s){var t=new Date(s).setSeconds(0,0);this._pendingAggregates[t]=this._pendingAggregates[t]||{};var n=this._pendingAggregates[t];switch(n.started||(n.started=new Date(t).toISOString()),e){case types_1.RequestSessionStatus.Errored:return n.errored=(n.errored||0)+1,n.errored;case types_1.RequestSessionStatus.Ok:return n.exited=(n.exited||0)+1,n.exited;case types_1.RequestSessionStatus.Crashed:return n.crashed=(n.crashed||0)+1,n.crashed}},e}();exports.SessionFlusher=SessionFlusher;}, {"390":390,"391":391,"423":423}];window.modules["427"] = [function(require,module,exports){var LogLevel;Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Debug=2]="Debug",e[e.Verbose=3]="Verbose"}(LogLevel=exports.LogLevel||(exports.LogLevel={}));}, {}];window.modules["428"] = [function(require,module,exports){var Severity;Object.defineProperty(exports,"__esModule",{value:!0}),function(r){r.Fatal="fatal",r.Error="error",r.Warning="warning",r.Log="log",r.Info="info",r.Debug="debug",r.Critical="critical"}(Severity=exports.Severity||(exports.Severity={})),function(r){r.fromString=function(e){switch(e){case"debug":return r.Debug;case"info":return r.Info;case"warn":case"warning":return r.Warning;case"error":return r.Error;case"fatal":return r.Fatal;case"critical":return r.Critical;case"log":default:return r.Log}}}(Severity=exports.Severity||(exports.Severity={}));}, {}];window.modules["429"] = [function(require,module,exports){var SessionStatus,RequestSessionStatus;Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e.Ok="ok",e.Exited="exited",e.Crashed="crashed",e.Abnormal="abnormal"}(SessionStatus=exports.SessionStatus||(exports.SessionStatus={})),function(e){e.Ok="ok",e.Errored="errored",e.Crashed="crashed"}(RequestSessionStatus=exports.RequestSessionStatus||(exports.RequestSessionStatus={}));}, {}];window.modules["430"] = [function(require,module,exports){var Status;Object.defineProperty(exports,"__esModule",{value:!0}),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(Status=exports.Status||(exports.Status={})),function(t){t.fromHttpCode=function(e){return e>=200&&e=400&&e=500?t.Failed:t.Unknown}}(Status=exports.Status||(exports.Status={}));}, {}];window.modules["431"] = [function(require,module,exports){var TransactionSamplingMethod;Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e.Explicit="explicitly_set",e.Sampler="client_sampler",e.Rate="client_rate",e.Inheritance="inheritance"}(TransactionSamplingMethod=exports.TransactionSamplingMethod||(exports.TransactionSamplingMethod={}));}, {}];window.modules["432"] = [function(require,module,exports){function forget(e){e.then(null,function(e){console.error(e)})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.forget=forget;}, {}];window.modules["433"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(434);function htmlTreeAsString(e,t){try{for(var r=e,n=[],i=0,s=0,l=" > ".length,h=void 0;r&&i++1&&s+n.length*l+h.length>=80);)n.push(h),s+=h.length,r=r.parentNode;return n.reverse().join(" > ")}catch(e){return""}}function _htmlElementAsString(e,t){var r,n,i,s,l,h=e,u=[];if(!h||!h.tagName)return"";u.push(h.tagName.toLowerCase());var a=t?h.getAttribute(t):null;if(a)u.push("["+t+'="'+a+'"]');else if(h.id&&u.push("#"+h.id),(r=h.className)&&is_1.isString(r))for(n=r.split(/\s+/),l=0;l1&&(l=E.slice(0,-1).join("/"),a=E.pop()),a){var _=a.match(/^\d+/);_&&(a=_[0])}this._fromComponents({host:n,pass:s,path:l,projectId:a,port:c,protocol:i,publicKey:e})},t.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","publicKey","host","projectId"].forEach(function(r){if(!t[r])throw new error_1.SentryError(ERROR_MESSAGE+": "+r+" missing")}),!this.projectId.match(/^\d+$/))throw new error_1.SentryError(ERROR_MESSAGE+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new error_1.SentryError(ERROR_MESSAGE+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new error_1.SentryError(ERROR_MESSAGE+": Invalid port "+this.port)},t}();exports.Dsn=Dsn;}, {"388":388,"436":436}];window.modules["436"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(388),polyfill_1=require(437),SentryError=function(r){function t(t){var e=this.constructor,o=r.call(this,t)||this;return o.message=t,o.name=e.prototype.constructor.name,polyfill_1.setPrototypeOf(o,e.prototype),o}return tslib_1.__extends(t,r),t}(Error);exports.SentryError=SentryError;}, {"388":388,"437":437}];window.modules["437"] = [function(require,module,exports){function setProtoOf(t,e){return t.__proto__=e,t}function mixinProperties(t,e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r]);return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.setPrototypeOf=Object.setPrototypeOf||({__proto__:[]}instanceof Array?setProtoOf:mixinProperties);}, {}];window.modules["438"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var Memo=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t=0;n--){var i=r[n];"."===i?r.splice(n,1):".."===i?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t--;t)r.unshift("..");return r}Object.defineProperty(exports,"__esModule",{value:!0});var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function splitPath(r){var e=splitPathRe.exec(r);return e?e.slice(1):[]}function resolve(){for(var r=[],e=0;e=-1&&!n;i--){var o=i>=0?r[i]:"/";o&&(t=o+"/"+t,n="/"===o.charAt(0))}return(n?"/":"")+(t=normalizeArray(t.split("/").filter(function(r){return!!r}),!n).join("/"))||"."}function trim(r){for(var e=0;e=0&&""===r[t];t--);return e>t?[]:r.slice(e,t-e+1)}function relative(r,e){r=resolve(r).substr(1),e=resolve(e).substr(1);for(var t=trim(r.split("/")),n=trim(e.split("/")),i=Math.min(t.length,n.length),o=i,s=0;s"}return e.event_id||""}function consoleSandbox(e){var t=getGlobalObject();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)});var a=e();return Object.keys(r).forEach(function(e){n[e]=r[e]}),a}function addExceptionTypeValue(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function addExceptionMechanism(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach(function(n){e.exception.values[0].mechanism[n]=t[n]})}catch(e){}}function getLocationHref(){try{return document.location.href}catch(e){return""}}exports.getGlobalObject=getGlobalObject,exports.uuid4=uuid4,exports.parseUrl=parseUrl,exports.getEventDescription=getEventDescription,exports.consoleSandbox=consoleSandbox,exports.addExceptionTypeValue=addExceptionTypeValue,exports.addExceptionMechanism=addExceptionMechanism,exports.getLocationHref=getLocationHref;var SEMVER_REGEXP=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function parseSemver(e){var t=e.match(SEMVER_REGEXP)||[],n=parseInt(t[1],10),r=parseInt(t[2],10),a=parseInt(t[3],10);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(a)?void 0:a,prerelease:t[4]}}exports.parseSemver=parseSemver;var defaultRetryAfter=6e4;function parseRetryAfterHeader(e,t){if(!t)return defaultRetryAfter;var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?defaultRetryAfter:r-e}function addContextToFrame(e,t,n){void 0===n&&(n=5);var r=t.lineno||0,a=e.length,o=Math.max(Math.min(a,r-1),0);t.pre_context=e.slice(Math.max(0,o-n),o).map(function(e){return string_1.snipLine(e,0)}),t.context_line=string_1.snipLine(e[Math.min(a-1,o)],t.colno||0),t.post_context=e.slice(Math.min(o+1,a),o+1+n).map(function(e){return string_1.snipLine(e,0)})}function stripUrlQueryAndFragment(e){return e.split(/[\?#]/,1)[0]}exports.parseRetryAfterHeader=parseRetryAfterHeader,exports.addContextToFrame=addContextToFrame,exports.stripUrlQueryAndFragment=stripUrlQueryAndFragment;}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"441":441,"444":444}];window.modules["444"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(434);function truncate(t,n){return void 0===n&&(n=0),"string"!=typeof t||0===n?t:t.lengthr&&(n=r);var i=Math.max(n-60,0);ir-5&&(s=r),s===r&&(i=Math.max(s-140,0)),e=e.slice(i,s),i>0&&(e="'{snip} "+e),s0&&t(!1)},e);syncpromise_1.SyncPromise.all(r._buffer).then(function(){clearTimeout(n),t(!0)}).then(null,function(){t(!0)})})},e}();exports.PromiseBuffer=PromiseBuffer;}, {"436":436,"446":446}];window.modules["446"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var States,is_1=require(434);!function(e){e.PENDING="PENDING",e.RESOLVED="RESOLVED",e.REJECTED="REJECTED"}(States||(States={}));var SyncPromise=function(){function e(e){var t=this;this._state=States.PENDING,this._handlers=[],this._resolve=function(e){t._setResult(States.RESOLVED,e)},this._reject=function(e){t._setResult(States.REJECTED,e)},this._setResult=function(e,n){t._state===States.PENDING&&(is_1.isThenable(n)?n.then(t._resolve,t._reject):(t._state=e,t._value=n,t._executeHandlers()))},this._attachHandler=function(e){t._handlers=t._handlers.concat(e),t._executeHandlers()},this._executeHandlers=function(){if(t._state!==States.PENDING){var e=t._handlers.slice();t._handlers=[],e.forEach(function(e){e.done||(t._state===States.RESOLVED&&e.onfulfilled&&e.onfulfilled(t._value),t._state===States.REJECTED&&e.onrejected&&e.onrejected(t._value),e.done=!0)})}};try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}return e.resolve=function(t){return new e(function(e){e(t)})},e.reject=function(t){return new e(function(e,n){n(t)})},e.all=function(t){return new e(function(n,r){if(Array.isArray(t))if(0!==t.length){var i=t.length,o=[];t.forEach(function(t,s){e.resolve(t).then(function(e){o[s]=e,0===(i-=1)&&n(o)}).then(null,r)})}else n([]);else r(new TypeError("Promise.all requires an array as input."))})},e.prototype.then=function(t,n){var r=this;return new e(function(e,i){r._attachHandler({done:!1,onfulfilled:function(n){if(t)try{return void e(t(n))}catch(e){return void i(e)}else e(n)},onrejected:function(t){if(n)try{return void e(n(t))}catch(e){return void i(e)}else i(t)}})})},e.prototype.catch=function(e){return this.then(function(e){return e},e)},e.prototype.finally=function(t){var n=this;return new e(function(e,r){var i,o;return n.then(function(e){o=!1,i=e,t&&t()},function(e){o=!0,i=e,t&&t()}).then(function(){o?r(i):e(i)})})},e.prototype.toString=function(){return"[object SyncPromise]"},e}();exports.SyncPromise=SyncPromise;}, {"434":434}];window.modules["447"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var logger_1=require(442),misc_1=require(443);function supportsErrorEvent(){try{return new ErrorEvent(""),!0}catch(r){return!1}}function supportsDOMError(){try{return new DOMError(""),!0}catch(r){return!1}}function supportsDOMException(){try{return new DOMException(""),!0}catch(r){return!1}}function supportsFetch(){if(!("fetch"in misc_1.getGlobalObject()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(r){return!1}}function isNativeFetch(r){return r&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(r.toString())}function supportsNativeFetch(){if(!supportsFetch())return!1;var r=misc_1.getGlobalObject();if(isNativeFetch(r.fetch))return!0;var e=!1,t=r.document;if(t&&"function"==typeof t.createElement)try{var o=t.createElement("iframe");o.hidden=!0,t.head.appendChild(o),o.contentWindow&&o.contentWindow.fetch&&(e=isNativeFetch(o.contentWindow.fetch)),t.head.removeChild(o)}catch(r){logger_1.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function supportsReportingObserver(){return"ReportingObserver"in misc_1.getGlobalObject()}function supportsReferrerPolicy(){if(!supportsFetch())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(r){return!1}}function supportsHistory(){var r=misc_1.getGlobalObject(),e=r.chrome,t=e&&e.app&&e.app.runtime,o="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!t&&o}exports.supportsErrorEvent=supportsErrorEvent,exports.supportsDOMError=supportsDOMError,exports.supportsDOMException=supportsDOMException,exports.supportsFetch=supportsFetch,exports.isNativeFetch=isNativeFetch,exports.supportsNativeFetch=supportsNativeFetch,exports.supportsReportingObserver=supportsReportingObserver,exports.supportsReferrerPolicy=supportsReferrerPolicy,exports.supportsHistory=supportsHistory;}, {"442":442,"443":443}];window.modules["448"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var misc_1=require(443),node_1=require(441),dateTimestampSource={nowSeconds:function(){return Date.now()/1e3}};function getBrowserPerformance(){var e=misc_1.getGlobalObject().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}function getNodePerformance(){try{return node_1.dynamicRequire(module,"perf_hooks").performance}catch(e){return}}var platformPerformance=node_1.isNodeEnv()?getNodePerformance():getBrowserPerformance(),timestampSource=void 0===platformPerformance?dateTimestampSource:{nowSeconds:function(){return(platformPerformance.timeOrigin+platformPerformance.now())/1e3}};exports.dateTimestampInSeconds=dateTimestampSource.nowSeconds.bind(dateTimestampSource),exports.timestampInSeconds=timestampSource.nowSeconds.bind(timestampSource),exports.timestampWithMs=exports.timestampInSeconds,exports.usingPerformanceAPI=void 0!==platformPerformance,exports.browserPerformanceTimeOrigin=function(){var e=misc_1.getGlobalObject().performance;if(e&&e.now){var r=e.now(),o=Date.now(),n=e.timeOrigin?Math.abs(e.timeOrigin+r-o):36e5,t=n"}try{o.currentTarget=is_1.isElement(i.currentTarget)?browser_1.htmlTreeAsString(i.currentTarget):Object.prototype.toString.call(i.currentTarget)}catch(e){o.currentTarget=""}for(var n in"undefined"!=typeof CustomEvent&&is_1.isInstanceOf(e,CustomEvent)&&(o.detail=i.detail),i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i);return o}return e}function utf8Length(e){return~-encodeURI(e).split(/%..|./).length}function jsonSize(e){return utf8Length(JSON.stringify(e))}function normalizeToSize(e,r,t){void 0===r&&(r=3),void 0===t&&(t=102400);var n=normalize(e,r);return jsonSize(n)>t?normalizeToSize(e,r-1,t):n}function serializeValue(e){var r=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===r)return"[Object]";if("[object Array]"===r)return"[Array]";var t=normalizeValue(e);return is_1.isPrimitive(t)?t:r}function normalizeValue(e,r){return"domain"===r&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===r?"[DomainEmitter]":"undefined"!=typeof global&&e===global?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":is_1.isSyntheticEvent(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+stacktrace_1.getFunctionName(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e}function walk(e,r,t,n){if(void 0===t&&(t=1/0),void 0===n&&(n=new memo_1.Memo),0===t)return serializeValue(r);if(null!=r&&"function"==typeof r.toJSON)return r.toJSON();var i=normalizeValue(r,e);if(is_1.isPrimitive(i))return i;var o=getWalkSource(r),a=Array.isArray(r)?[]:{};if(n.memoize(r))return"[Circular ~]";for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(a[s]=walk(s,o[s],t-1,n));return n.unmemoize(r),a}function normalize(e,r){try{return JSON.parse(JSON.stringify(e,function(e,t){return walk(e,t,r)}))}catch(e){return"**non-serializable**"}}function extractExceptionKeysForMessage(e,r){void 0===r&&(r=40);var t=Object.keys(getWalkSource(e));if(t.sort(),!t.length)return"[object has no keys]";if(t[0].length>=r)return string_1.truncate(t[0],r);for(var n=t.length;n>0;n--){var i=t.slice(0,n).join(", ");if(!(i.length>r))return n===t.length?i:string_1.truncate(i,r)}return""}function dropUndefinedKeys(e){var r,t;if(is_1.isPlainObject(e)){var n=e,i={};try{for(var o=tslib_1.__values(Object.keys(n)),a=o.next();!a.done;a=o.next()){var s=a.value;void 0!==n[s]&&(i[s]=dropUndefinedKeys(n[s]))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(r)throw r.error}}return i}return Array.isArray(e)?e.map(dropUndefinedKeys):e}exports.fill=fill,exports.urlEncode=urlEncode,exports.normalizeToSize=normalizeToSize,exports.walk=walk,exports.normalize=normalize,exports.extractExceptionKeysForMessage=extractExceptionKeysForMessage,exports.dropUndefinedKeys=dropUndefinedKeys;}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"388":388,"433":433,"434":434,"438":438,"440":440,"444":444}];window.modules["450"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var lastHref,tslib_1=require(388),is_1=require(434),logger_1=require(442),misc_1=require(443),object_1=require(449),stacktrace_1=require(440),supports_1=require(447),global=misc_1.getGlobalObject(),handlers={},instrumented={};function instrument(e){if(!instrumented[e])switch(instrumented[e]=!0,e){case"console":instrumentConsole();break;case"dom":instrumentDOM();break;case"xhr":instrumentXHR();break;case"fetch":instrumentFetch();break;case"history":instrumentHistory();break;case"error":instrumentError();break;case"unhandledrejection":instrumentUnhandledRejection();break;default:logger_1.logger.warn("unknown instrumentation type:",e)}}function addInstrumentationHandler(e){e&&"string"==typeof e.type&&"function"==typeof e.callback&&(handlers[e.type]=handlers[e.type]||[],handlers[e.type].push(e.callback),instrument(e.type))}function triggerHandlers(e,t){var r,n;if(e&&handlers[e])try{for(var o=tslib_1.__values(handlers[e]||[]),a=o.next();!a.done;a=o.next()){var i=a.value;try{i(t)}catch(t){logger_1.logger.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+stacktrace_1.getFunctionName(i)+"\nError: "+t)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}function instrumentConsole(){"console"in global&&["debug","info","warn","error","log","assert"].forEach(function(e){e in global.console&&object_1.fill(global.console,e,function(t){return function(){for(var r=[],n=0;n2?t[2]:void 0;if(n){var o=lastHref,a=String(n);lastHref=a,triggerHandlers("history",{from:o,to:a})}return e.apply(this,t)}}}exports.addInstrumentationHandler=addInstrumentationHandler;var debounceTimerID,lastCapturedEvent,debounceDuration=1e3;function shouldShortcircuitPreviousDebounce(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}function shouldSkipDOMEvent(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}function makeDOMEventHandler(e,t){return void 0===t&&(t=!1),function(r){if(r&&lastCapturedEvent!==r&&!shouldSkipDOMEvent(r)){var n="keypress"===r.type?"input":r.type;void 0===debounceTimerID?(e({event:r,name:n,global:t}),lastCapturedEvent=r):shouldShortcircuitPreviousDebounce(lastCapturedEvent,r)&&(e({event:r,name:n,global:t}),lastCapturedEvent=r),clearTimeout(debounceTimerID),debounceTimerID=global.setTimeout(function(){debounceTimerID=void 0},debounceDuration)}}}function instrumentDOM(){if("document"in global){var e=triggerHandlers.bind(null,"dom"),t=makeDOMEventHandler(e,!0);global.document.addEventListener("click",t,!1),global.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(function(t){var r=global[t]&&global[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(object_1.fill(r,"addEventListener",function(t){return function(r,n,o){if("click"===r||"keypress"==r)try{var a=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=a[r]=a[r]||{refCount:0};if(!i.handler){var l=makeDOMEventHandler(e);i.handler=l,t.call(this,r,l,o)}i.refCount+=1}catch(e){}return t.call(this,r,n,o)}}),object_1.fill(r,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{var o=this.__sentry_instrumentation_handlers__||{},a=o[t];a&&(a.refCount-=1,a.refCount=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),e++):e&&(r.splice(n,1),e--)}if(t)for(;e--;e)r.unshift("..");return r}function basename(r){"string"!=typeof r&&(r+="");var t,e=0,n=-1,o=!0;for(t=r.length-1;t>=0;--t)if(47===r.charCodeAt(t)){if(!o){e=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":r.slice(e,n)}function filter(r,t){if(r.filter)return r.filter(t);for(var e=[],n=0;n=-1&&!t;e--){var n=e>=0?arguments[e]:process.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(r=n+"/"+r,t="/"===n.charAt(0))}return(t?"/":"")+(r=normalizeArray(filter(r.split("/"),function(r){return!!r}),!t).join("/"))||"."},exports.normalize=function(r){var t=exports.isAbsolute(r),e="/"===substr(r,-1);return(r=normalizeArray(filter(r.split("/"),function(r){return!!r}),!t).join("/"))||t||(r="."),r&&e&&(r+="/"),(t?"/":"")+r},exports.isAbsolute=function(r){return"/"===r.charAt(0)},exports.join=function(){var r=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(r,function(r,t){if("string"!=typeof r)throw new TypeError("Arguments to path.join must be strings");return r}).join("/"))},exports.relative=function(r,t){function e(r){for(var t=0;t=0&&""===r[e];e--);return t>e?[]:r.slice(t,e-t+1)}r=exports.resolve(r).substr(1),t=exports.resolve(t).substr(1);for(var n=e(r.split("/")),o=e(t.split("/")),s=Math.min(n.length,o.length),i=s,u=0;u=1;--s)if(47===(t=r.charCodeAt(s))){if(!o){n=s;break}}else o=!1;return-1===n?e?"/":".":e&&1===n?"/":r.slice(0,n)},exports.basename=function(r,t){var e=basename(r);return t&&e.substr(-1*t.length)===t&&(e=e.substr(0,e.length-t.length)),e},exports.extname=function(r){"string"!=typeof r&&(r+="");for(var t=-1,e=0,n=-1,o=!0,s=0,i=r.length-1;i>=0;--i){var u=r.charCodeAt(i);if(47!==u)-1===n&&(o=!1,n=i+1),46===u?-1===t?t=i:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){e=i+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===e+1?"":r.slice(t,n)};var substr="b"==="ab".substr(-1)?function(r,t,e){return r.substr(t,e)}:function(r,t,e){return t-1&&(l=!1);"function"==typeof i&&(i.error=i.fatal=i.warn=i.info=i.debug=i.trace=i),!1===e.enabled&&(e.level="silent");var n=e.level||"info",a=Object.create(i);a.log||(a.log=noop),Object.defineProperty(a,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(a,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,set(o,a,"error","log"),set(o,a,"fatal","error"),set(o,a,"warn","error"),set(o,a,"info","log"),set(o,a,"debug","log"),set(o,a,"trace","log")}});var o={transmit:r,serialize:s,asObject:e.browser.asObject,levels:["error","fatal","warn","info","debug","trace"]};return a.levels=pino.levels,a.level=n,a.setMaxListeners=a.getMaxListeners=a.emit=a.addListener=a.on=a.prependListener=a.once=a.prependOnceListener=a.removeListener=a.removeAllListeners=a.listeners=a.listenerCount=a.eventNames=a.write=a.flush=noop,a.serializers=t,a._serialize=s,a._stdErrSerialize=l,a.child=function(i){if(!i)throw new Error("missing bindings for child Pino");var l=i.serializers;if(s&&l){var n=Object.assign({},t,l),a=!0===e.browser.serialize?Object.keys(n):s;delete i.serializers,applySerializers([i],a,n,this._stdErrSerialize)}function o(e){this._childLevel=1+(0|e._childLevel),this.error=bind(e,i,"error"),this.fatal=bind(e,i,"fatal"),this.warn=bind(e,i,"warn"),this.info=bind(e,i,"info"),this.debug=bind(e,i,"debug"),this.trace=bind(e,i,"trace"),n&&(this.serializers=n,this._serialize=a),r&&this._logEvent.bindings.push(i)}return o.prototype=this,new o(this)},r&&(a._logEvent=createLogEventShape()),a}function set(e,r,i,t){var s=Object.getPrototypeOf(r);r[i]=r.levelVal>r.levels.values[i]?noop:s[i]?s[i]:_console[i]||_console[t]||noop,wrap(e,r,i)}function wrap(e,r,i){var t;(e.transmit||r[i]!==noop)&&(r[i]=(t=r[i],function(){for(var s=Date.now(),l=new Array(arguments.length),n=Object.getPrototypeOf&&Object.getPrototypeOf(this)===_console?_console:this,a=0;a-1&&l in i&&(e[s][l]=i[l](e[s][l]))}function bind(e,r,i){return function(){var t=new Array(1+arguments.length);t[0]=r;for(var s=1;s"],[10097,">"],[65310,">"],[10100,"{"],[65371,"{"],[10101,"}"],[65373,"}"],[8314,"+"],[8330,"+"],[65291,"+"],[8316,"="],[8332,"="],[65309,"="],[65281,"!"],[8252,"!!"],[8265,"!?"],[65283,"#"],[65284,"$"],[8274,"%"],[65285,"%"],[65286,"&"],[8270,"*"],[65290,"*"],[65292,","],[65294,"."],[8260,"/"],[65295,"/"],[65306,":"],[8271,";"],[65307,";"],[65311,"?"],[8263,"??"],[8264,"?!"],[65312,"@"],[65340,"\\"],[8248,"^"],[65342,"^"],[65343,"_"],[8275,"~"],[65374,"~"]]),module.exports=ASCIIFolder;}, {}];window.modules["849"] = [function(require,module,exports){(function (global){(function (){!function(r){var e="object"==typeof exports&&exports,a="object"==typeof module&&module&&module.exports==e&&module,t="object"==typeof global&&global;t.global!==t&&t.window!==t||(r=t);var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"":"shy","'":"zwnj","'":"zwj","'":"lrm","'£":"ic","'":"it","'":"af","'":"rlm","'":"ZeroWidthSpace","' ":"NoBreak","Ì":"DownBreve","'":"tdot","''":"DotDot","\t":"Tab","\n":"NewLine","'":"puncsp","'":"MediumSpace","'":"thinsp","'":"hairsp","'":"emsp13","'":"ensp","'
":"emsp14","'":"emsp","'":"numsp"," ":"nbsp","''":"ThickSpace","'¾":"oline",_:"lowbar","'":"dash","''":"ndash","'--":"mdash","'":"horbar",",":"comma",";":"semi","'":"bsemi",":":"colon","'(C)´":"Colone","!":"excl","":"iexcl","?":"quest","":"iquest",".":"period","'¥":"nldr","'...":"mldr","·":"middot","'":"apos","'":"lsquo","'":"rsquo","'":"sbquo","'¹":"lsaquo","'º":"rsaquo",'"':"quot","''":"ldquo","''":"rdquo","'":"bdquo","":"laquo",">>":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","'":"lceil","'":"rceil","'":"lfloor","'":"rfloor","'...
":"lopar","'...":"ropar","'...":"lbrke","'...":"rbrke","'...":"lbrkslu","'...":"rbrksld","'...":"lbrksld","'...":"rbrkslu","'...":"langd","'...'":"rangd","'...'":"lparlt","'...--":"rpargt","'...":"gtlPar","'...":"ltrPar","'...":"lobrk","'§":"robrk","'¨":"lang","'(C)":"rang","'ª":"Lang","'":"Rang","'¬":"loang","'":"roang","''²":"lbbrk","''"":"rbbrk","'":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","'°":"permil","'±":"pertenk","' ":"dagger","'":"Dagger","'":"bull","'":"hybull","'²":"prime","'"":"Prime","'´":"tprime","'":"qprime","'µ":"bprime","'":"caret","`":"grave","´":"acute","Ë'":"tilde","^":"Hat","¯":"macr","Ë":"breve","Ë":"dot","¨":"die","Ë":"ring","Ë'":"dblac","¸":"cedil","Ë":"ogon","Ë":"circ","Ë":"caron","°":"deg","(C)":"copy","®":"reg","'":"copysr","'":"wp","'":"rx","'§":"mho","'(C)":"iiota","'":"larr","'":"nlarr","''":"rarr","'":"nrarr","'":"uarr","''":"darr","'--":"harr","'®":"nharr","'":"varr","'":"nwarr","'":"nearr","'":"searr","'":"swarr","''":"rarrw","''̸":"nrarrw","'":"Larr","'":"Uarr","' ":"Rarr","'":"Darr","'":"larrtl","'£":"rarrtl","'¤":"mapstoleft","'¥":"mapstoup","'...":"map","'§":"mapstodown","'(C)":"larrhk","'ª":"rarrhk","'":"larrlp","'¬":"rarrlp","'":"harrw","'°":"lsh","'±":"rsh","'²":"ldsh","'"":"rdsh","'µ":"crarr","'¶":"cularr","'·":"curarr","'º":"olarr","'>>":"orarr","'¼":"lharu","'½":"lhard","'¾":"uharr","'":"uharl","'":"rharu","'":"rhard","'":"dharr","'":"dharl","'":"rlarr","'
":"udarr","'":"lrarr","'":"llarr","'":"uuarr","'":"rrarr","'":"ddarr","'":"lrhar","'":"rlhar","'":"lArr","'":"nlArr","'":"uArr","''":"rArr","'":"nrArr","''":"dArr","'--":"iff","'":"nhArr","'":"vArr","'":"nwArr","'":"neArr","'":"seArr","'":"swArr","'":"lAarr","'":"rAarr","''":"zigrarr","'¤":"larrb","'¥":"rarrb","'µ":"duarr","'½":"loarr","'¾":"roarr","'":"hoarr","'":"forall","'":"comp","'":"part","'̸":"npart","'":"exist","'":"nexist","'
":"empty","'":"Del","'":"in","'":"notin","'":"ni","'":"notni","϶":"bepsi","'":"prod","'":"coprod","'":"sum","+":"plus","±":"pm","·":"div","":"times","":"gt","'¯":"ngt",">''":"nvgt","¬":"not","|":"vert","...":"brvbar","''":"minus","''":"mp","'--":"plusdo","'":"frasl","'":"setmn","'":"lowast","'":"compfn","'":"Sqrt","''":"prop","'":"infin","'":"angrt","' ":"ang","' ''":"nang","'":"angmsd","'":"angsph","'£":"mid","'¤":"nmid","'¥":"par","'...":"npar","'§":"and","'¨":"or","'(C)":"cap","'(C)¸":"caps","'ª":"cup","'ª¸":"cups","'":"int","'¬":"Int","'":"tint","'¨":"qint","'®":"oint","'¯":"Conint","'°":"Cconint","'±":"cwint","'²":"cwconint","'"":"awconint","'´":"there4","'µ":"becaus","'¶":"ratio","'·":"Colon","'¸":"minusd","'º":"mDDot","'>>":"homtht","'¼":"sim","'":"nsim","'¼''":"nvsim","'½":"bsim","'½Ì±":"race","'¾":"ac","'¾Ì"":"acE","'":"acd","'":"wr","'":"esim","'̸":"nesim","'":"sime","'":"nsime","'
":"cong","'":"ncong","'":"simne","'":"ap","'":"nap","'":"ape","'":"apid","'̸":"napid","'":"bcong","'":"CupCap","'":"NotCupCap","'''":"nvap","'":"bump","'̸":"nbump","'":"bumpe","'̸":"nbumpe","'":"doteq","'̸":"nedot","'":"eDot","''":"efDot","''":"erDot","'--":"colone","'":"ecolon","'":"ecir","'":"cire","'":"wedgeq","'":"veeeq","''":"trie","'":"equest","'":"equiv","'":"nequiv","''¥":"bnequiv","'¤":"le","'°":"nle","'¤''":"nvle","'¥":"ge","'±":"nge","'¥''":"nvge","'...":"lE","'...̸":"nlE","'§":"gE","'§Ì¸":"ngE","'¨¸":"lvnE","'¨":"lnE","'(C)":"gnE","'(C)¸":"gvnE","'ª":"ll","'ªÌ¸":"nLtv","'ª''":"nLt","'":"gg","'̸":"nGtv","'''":"nGt","'¬":"twixt","'²":"lsim","'´":"nlsim","'"":"gsim","'µ":"ngsim","'¶":"lg","'¸":"ntlg","'·":"gl","'¹":"ntgl","'º":"pr","'":"npr","'>>":"sc","'":"nsc","'¼":"prcue","' ":"nprcue","'½":"sccue","'":"nsccue","'¾":"prsim","'":"scsim","'̸":"NotSucceedsTilde","'":"sub","'":"nsub","'''":"vnsub","'":"sup","'
":"nsup","'''":"vnsup","'":"sube","'":"nsube","'":"supe","'":"nsupe","'¸":"vsubne","'":"subne","'¸":"vsupne","'":"supne","'":"cupdot","'":"uplus","'":"sqsub","'̸":"NotSquareSubset","'":"sqsup","'̸":"NotSquareSuperset","'":"sqsube","'":"nsqsube","''":"sqsupe","'£":"nsqsupe","''":"sqcap","''¸":"sqcaps","'--":"sqcup","'--¸":"sqcups","'":"oplus","'":"ominus","'":"otimes","'":"osol","'":"odot","'":"ocir","'":"oast","''":"odash","'":"plusb","'":"minusb","' ":"timesb","'":"sdotb","'":"vdash","'¬":"nvdash","'£":"dashv","'¤":"top","'¥":"bot","'§":"models","'¨":"vDash","'":"nvDash","'(C)":"Vdash","'®":"nVdash","'ª":"Vvdash","'":"VDash","'¯":"nVDash","'°":"prurel","'²":"vltri","'ª":"nltri","'"":"vrtri","'":"nrtri","'´":"ltrie","'¬":"nltrie","'´''":"nvltrie","'µ":"rtrie","'":"nrtrie","'µ''":"nvrtrie","'¶":"origof","'·":"imof","'¸":"mumap","'¹":"hercon","'º":"intcal","'>>":"veebar","'½":"barvee","'¾":"angrtvb","'":"lrtri","'":"Wedge","'":"Vee","'":"xcap","'":"xcup","'":"diam","'
":"sdot","'":"Star","'":"divonx","'":"bowtie","'":"ltimes","'":"rtimes","'":"lthree","'":"rthree","'":"bsime","'":"cuvee","'":"cuwed","'":"Sub","'":"Sup","''":"Cap","''":"Cup","'--":"fork","'":"epar","'":"ltdot","'":"gtdot","'":"Ll","'̸":"nLl","'":"Gg","'̸":"nGg","'¸":"lesg","'":"leg","'":"gel","'¸":"gesl","'":"cuepr","'":"cuesc","'...":"lnsim","'§":"gnsim","'¨":"prnsim","'(C)":"scnsim","'®":"vellip","'¯":"ctdot","'°":"utdot","'±":"dtdot","'²":"disin","'"":"isinsv","'´":"isins","'µ":"isindot","'µÌ¸":"notindot","'¶":"notinvc","'·":"notinvb","'¹":"isinE","'¹Ì¸":"notinE","'º":"nisd","'>>":"xnis","'¼":"nis","'½":"notnivc","'¾":"notnivb","'
":"barwed","'":"Barwed","'":"drcrop","'":"dlcrop","'":"urcrop","'":"ulcrop","'":"bnot","''":"profline","''":"profsurf","'":"telrec","'":"target","''":"ulcorn","''":"urcorn","'":"dlcorn","'":"drcorn","'":"frown","'£":"smile","'":"cylcty","'®":"profalar","'¶":"topbot","'½":"ovbar","'":"solbar","'¼":"angzarr","'°":"lmoust","'±":"rmoust","'´":"tbrk","'µ":"bbrk","'¶":"bbrktbrk","''":"OverParenthesis","''":"UnderParenthesis","'":"OverBrace","'":"UnderBrace","'":"trpezium","'§":"elinters","'£":"blank","'--":"boxh","'--":"boxv","'--":"boxdr","'--":"boxdl","'----":"boxur","'--":"boxul","'--'":"boxvr","'--¤":"boxvl","'--¬":"boxhd","'--´":"boxhu","'--¼":"boxvh","'":"boxH","'":"boxV","''":"boxdR","''":"boxDr","'--":"boxDR","'":"boxdL","'":"boxDl","'":"boxDL","'":"boxuR","'":"boxUr","'":"boxUR","'":"boxuL","''":"boxUl","''":"boxUL","'":"boxvR","'":"boxVr","' ":"boxVR","'":"boxvL","'":"boxVl","'£":"boxVL","'¤":"boxHd","'¥":"boxhD","'...":"boxHD","'§":"boxHu","'¨":"boxhU","'(C)":"boxHU","'ª":"boxvH","'":"boxVh","'¬":"boxVH","'":"uhblk","'":"lhblk","'":"block","'":"blk14","''":"blk12","''":"blk34","'":"squ","'ª":"squf","'":"EmptyVerySmallSquare","'":"rect","'®":"marker","'±":"fltns","'"":"xutri","'´":"utrif","'µ":"utri","'¸":"rtrif","'¹":"rtri","'½":"xdtri","'¾":"dtrif","'":"dtri","'":"ltrif","'":"ltri","'":"loz","'":"cir","'¬":"tridot","'¯":"xcirc","'¸":"ultri","'¹":"urtri","'º":"lltri","'>>":"EmptySmallSquare","'¼":"FilledSmallSquare","'
":"starf","'":"star","'":"phone","'":"female","'":"male","' ":"spades","'£":"clubs","'¥":"hearts","'...":"diams","'ª":"sung","'''":"check","''":"cross","'' ":"malt","''¶":"sext","''":"VerticalSeparator","'":"bsolhsub","'":"suphsol","'µ":"xlarr","'¶":"xrarr","'·":"xharr","'¸":"xlArr","'¹":"xrArr","'º":"xhArr","'¼":"xmap","'":"dzigrarr","'¤":"nvlArr","'¤":"nvrArr","'¤":"nvHarr","'¤
":"Map","'¤":"lbarr","'¤":"rbarr","'¤":"lBarr","'¤":"rBarr","'¤":"RBarr","'¤":"DDotrahd","'¤'":"UpArrowBar","'¤'":"DownArrowBar","'¤":"Rarrtl","'¤":"latail","'¤":"ratail","'¤":"lAtail","'¤'":"rAtail","'¤'":"larrfs","'¤":"rarrfs","'¤":"larrbfs","'¤ ":"rarrbfs","'¤£":"nwarhk","'¤¤":"nearhk","'¤¥":"searhk","'¤...":"swarhk","'¤§":"nwnear","'¤¨":"toea","'¤(C)":"tosa","'¤ª":"swnwar","'¤"":"rarrc","'¤"̸":"nrarrc","'¤µ":"cudarrr","'¤¶":"ldca","'¤·":"rdca","'¤¸":"cudarrl","'¤¹":"larrpl","'¤¼":"curarrm","'¤½":"cularrp","'¥
":"rarrpl","'¥":"harrcir","'¥":"Uarrocir","'¥":"lurdshar","'¥":"ldrushar","'¥":"LeftRightVector","'¥":"RightUpDownVector","'¥":"DownLeftRightVector","'¥":"LeftUpDownVector","'¥'":"LeftVectorBar","'¥'":"RightVectorBar","'¥--":"RightUpVectorBar","'¥":"RightDownVectorBar","'¥":"DownLeftVectorBar","'¥":"DownRightVectorBar","'¥":"LeftUpVectorBar","'¥":"LeftDownVectorBar","'¥":"LeftTeeVector","'¥":"RightTeeVector","'¥'":"RightUpTeeVector","'¥'":"RightDownTeeVector","'¥":"DownLeftTeeVector","'¥":"DownRightTeeVector","'¥ ":"LeftUpTeeVector","'¥":"LeftDownTeeVector","'¥":"lHar","'¥£":"uHar","'¥¤":"rHar","'¥¥":"dHar","'¥...":"luruhar","'¥§":"ldrdhar","'¥¨":"ruluhar","'¥(C)":"rdldhar","'¥ª":"lharul","'¥":"llhard","'¥¬":"rharul","'¥":"lrhard","'¥®":"udhar","'¥¯":"duhar","'¥°":"RoundImplies","'¥±":"erarr","'¥²":"simrarr","'¥"":"larrsim","'¥´":"rarrsim","'¥µ":"rarrap","'¥¶":"ltlarr","'¥¸":"gtrarr","'¥¹":"subrarr","'¥>>":"suplarr","'¥¼":"lfisht","'¥½":"rfisht","'¥¾":"ufisht","'¥":"dfisht","'...":"vzigzag","'...'":"vangrt","'...'":"angrtvbd","'...¤":"ange","'...¥":"range","'......":"dwangle","'...§":"uwangle","'...¨":"angmsdaa","'...(C)":"angmsdab","'...ª":"angmsdac","'...":"angmsdad","'...¬":"angmsdae","'...":"angmsdaf","'...®":"angmsdag","'...¯":"angmsdah","'...°":"bemptyv","'...±":"demptyv","'...²":"cemptyv","'..."":"raemptyv","'...´":"laemptyv","'...µ":"ohbar","'...¶":"omid","'...·":"opar","'...¹":"operp","'...>>":"olcross","'...¼":"odsold","'...¾":"olcir","'...":"ofcir","'§":"olt","'§":"ogt","'§":"cirscir","'§":"cirE","'§":"solb","'§
":"bsolb","'§":"boxbox","'§":"trisb","'§":"rtriltri","'§":"LeftTriangleBar","'§Ì¸":"NotLeftTriangleBar","'§":"RightTriangleBar","'§Ì¸":"NotRightTriangleBar","'§'":"iinfin","'§'":"infintie","'§":"nvinfin","'§£":"eparsl","'§¤":"smeparsl","'§¥":"eqvparsl","'§":"lozf","'§´":"RuleDelayed","'§¶":"dsol","'¨":"xodot","'¨":"xoplus","'¨":"xotime","'¨":"xuplus","'¨":"xsqcup","'¨":"fpartint","'¨":"cirfnint","'¨":"awint","'¨'":"rppolint","'¨'":"scpolint","'¨--":"npolint","'¨":"pointint","'¨":"quatint","'¨":"intlarhk","'¨":"pluscir","'¨£":"plusacir","'¨¤":"simplus","'¨¥":"plusdu","'¨...":"plussim","'¨§":"plustwo","'¨(C)":"mcomma","'¨ª":"minusdu","'¨":"loplus","'¨®":"roplus","'¨¯":"Cross","'¨°":"timesd","'¨±":"timesbar","'¨"":"smashp","'¨´":"lotimes","'¨µ":"rotimes","'¨¶":"otimesas","'¨·":"Otimes","'¨¸":"odiv","'¨¹":"triplus","'¨º":"triminus","'¨>>":"tritime","'¨¼":"iprod","'¨":"amalg","'(C)":"capdot","'(C)":"ncup","'(C)":"ncap","'(C)":"capand","'(C)
":"cupor","'(C)":"cupcap","'(C)":"capcup","'(C)":"cupbrcap","'(C)":"capbrcup","'(C)":"cupcup","'(C)":"capcap","'(C)":"ccups","'(C)":"ccaps","'(C)":"ccupssm","'(C)'":"And","'(C)--":"Or","'(C)":"andand","'(C)":"oror","'(C)":"orslope","'(C)":"andslope","'(C)":"andv","'(C)":"orv","'(C)'":"andd","'(C)'":"ord","'(C)":"wedbar","'(C)...":"sdote","'(C)ª":"simdot","'(C)":"congdot","'(C)̸":"ncongdot","'(C)®":"easter","'(C)¯":"apacir","'(C)°":"apE","'(C)°Ì¸":"napE","'(C)±":"eplus","'(C)²":"pluse","'(C)"":"Esim","'(C)·":"eDDot","'(C)¸":"equivDD","'(C)¹":"ltcir","'(C)º":"gtcir","'(C)>>":"ltquest","'(C)¼":"gtquest","'(C)½":"les","'(C)½Ì¸":"nles","'(C)¾":"ges","'(C)¾Ì¸":"nges","'(C)":"lesdot","'ª":"gesdot","'ª":"lesdoto","'ª":"gesdoto","'ª":"lesdotor","'ª":"gesdotol","'ª
":"lap","'ª":"gap","'ª":"lne","'ª":"gne","'ª":"lnap","'ª":"gnap","'ª":"lEg","'ª":"gEl","'ª":"lsime","'ª":"gsime","'ª":"lsimg","'ª":"gsiml","'ª":"lgE","'ª'":"glE","'ª'":"lesges","'ª--":"gesles","'ª":"els","'ª":"egs","'ª":"elsdot","'ª":"egsdot","'ª":"el","'ª":"eg","'ª'":"siml","'ª":"simg","'ª":"simlE","'ª ":"simgE","'ª":"LessLess","'ªÌ¸":"NotNestedLessLess","'ª":"GreaterGreater","'ªÌ¸":"NotNestedGreaterGreater","'ª¤":"glj","'ª¥":"gla","'ª...":"ltcc","'ª§":"gtcc","'ª¨":"lescc","'ª(C)":"gescc","'ªª":"smt","'ª":"lat","'ª¬":"smte","'ª¬¸":"smtes","'ª":"late","'ª¸":"lates","'ª®":"bumpE","'ª¯":"pre","'ª¯Ì¸":"npre","'ª°":"sce","'ª°Ì¸":"nsce","'ª"":"prE","'ª´":"scE","'ªµ":"prnE","'ª¶":"scnE","'ª·":"prap","'ª¸":"scap","'ª¹":"prnap","'ªº":"scnap","'ª>>":"Pr","'ª¼":"Sc","'ª½":"subdot","'ª¾":"supdot","'ª":"subplus","'":"supplus","'":"submult","'":"supmult","'":"subedot","'":"supedot","'
":"subE","'
̸":"nsubE","'":"supE","'̸":"nsupE","'":"subsim","'":"supsim","'¸":"vsubnE","'":"subnE","'¸":"vsupnE","'":"supnE","'":"csub","'":"csup","'":"csube","''":"csupe","''":"subsup","'--":"supsub","'":"subsub","'":"supsup","'":"suphsub","'":"supdsub","'":"forkv","'":"topfork","'":"mlcp","'¤":"Dashv","'...":"Vdashl","'§":"Barv","'¨":"vBar","'(C)":"vBarv","'":"Vbar","'¬":"Not","'":"bNot","'®":"rnmid","'¯":"cirmid","'°":"midcir","'±":"topcir","'²":"nhpar","'"":"parsim","'½":"parsl","'½'¥":"nparsl","'":"flat","'®":"natur","'¯":"sharp","¤":"curren","":"cent",$:"dollar","£":"pound","¥":"yen","'¬":"euro","¹":"sup1","½":"half","'
'":"frac13","¼":"frac14","'
":"frac15","'
":"frac16","'
":"frac18","²":"sup2","'
--":"frac23","'
":"frac25",""":"sup3","¾":"frac34","'
":"frac35","'
'":"frac38","'
":"frac45","'
":"frac56","'
'":"frac58","'
":"frac78","ð''¶":"ascr","ð''":"aopf","ð'--":"afr","ð'--¸":"Aopf","ð'--":"Afr","ð'''":"Ascr","ª":"ordf","":"aacute","":"Aacute"," ":"agrave","":"Agrave","Ä":"abreve","Ä":"Abreve","":"acirc","":"Acirc","¥":"aring","
":"angst","¤":"auml","":"Auml","£":"atilde","":"Atilde","Ä
":"aogon","Ä":"Aogon","Ä":"amacr","Ä":"Amacr","...":"aelig","":"AElig","ð''·":"bscr","ð''":"bopf","ð'--":"bfr","ð'--¹":"Bopf","'¬":"Bscr","ð'--
":"Bfr","ð'-- ":"cfr","ð''¸":"cscr","ð'--":"copf","'":"Cfr","ð''":"Cscr","'":"Copf","Ä":"cacute","Ä":"Cacute","Ä":"ccirc","Ä":"Ccirc","Ä":"ccaron","Ä":"Ccaron","Ä":"cdot","Ä":"Cdot","§":"ccedil","":"Ccedil","'
":"incare","ð'--":"dfr","'
":"dd","ð'":"dopf","ð''¹":"dscr","ð''":"Dscr","ð'--":"Dfr","'
":"DD","ð'-->>":"Dopf","Ä":"dcaron","Ä":"Dcaron","Ä":"dstrok","Ä":"Dstrok","°":"eth","":"ETH","'
":"ee","'¯":"escr","ð'--":"efr","ð'":"eopf","'°":"Escr","ð'--":"Efr","ð'--¼":"Eopf","(C)":"eacute","":"Eacute","¨":"egrave","":"Egrave","ª":"ecirc","":"Ecirc","Ä":"ecaron","Ä":"Ecaron","":"euml","":"Euml","Ä":"edot","Ä":"Edot","Ä":"eogon","Ä":"Eogon","Ä'":"emacr","Ä'":"Emacr","ð'--£":"ffr","ð'":"fopf","ð''>>":"fscr","ð'--":"Ffr","ð'--½":"Fopf","'±":"Fscr","¬":"fflig","¬":"ffilig","¬":"ffllig","¬":"filig",fj:"fjlig","¬":"fllig","Æ'":"fnof","'":"gscr","ð'":"gopf","ð'--¤":"gfr","ð''":"Gscr","ð'--¾":"Gopf","ð'--":"Gfr","ǵ":"gacute","Ä":"gbreve","Ä":"Gbreve","Ä'":"gcirc","Ä'":"Gcirc","Ä":"gdot","Ä ":"Gdot","Ä":"Gcedil","ð'--¥":"hfr","'":"planckh","ð''½":"hscr","ð'":"hopf","'":"Hscr","'":"Hfr","'":"Hopf","Ä¥":"hcirc","Ĥ":"Hcirc","'":"hbar","ħ":"hstrok","Ä...":"Hstrok","ð'":"iopf","ð'--...":"ifr","ð''¾":"iscr","'
":"ii","ð'":"Iopf","'":"Iscr","'":"Im","":"iacute","":"Iacute","¬":"igrave","":"Igrave","®":"icirc","":"Icirc","¯":"iuml","":"Iuml","Ä(C)":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Ä®":"Iogon","Ä":"imacr","Ī":"Imacr","Ä"":"ijlig","IJ":"IJlig","ı":"imath","ð''":"jscr","ð'":"jopf","ð'--§":"jfr","ð''¥":"Jscr","ð'--":"Jfr","ð'":"Jopf","ĵ":"jcirc","Ä´":"Jcirc","È·":"jmath","ð''":"kopf","ð''":"kscr","ð'--¨":"kfr","ð''...":"Kscr","ð'":"Kopf","ð'--":"Kfr","Ä·":"kcedil","Ķ":"Kcedil","ð'--(C)":"lfr","ð''":"lscr","''":"ell","ð''":"lopf","''":"Lscr","ð'--":"Lfr","ð'":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ä>>":"Lcedil","Å":"lstrok","Å":"Lstrok","Å":"lmidot","Ä":"Lmidot","ð'--ª":"mfr","ð'":"mopf","ð''":"mscr","ð'--":"Mfr","ð'":"Mopf","'"":"Mscr","ð'--":"nfr","ð'":"nopf","ð''":"nscr","'":"Nopf","ð''(C)":"Nscr","ð'--":"Nfr","Å":"nacute","Å":"Nacute","Å":"ncaron","Å":"Ncaron","±":"ntilde","":"Ntilde","Å":"ncedil","Å
":"Ncedil","'":"numero","Å":"eng","Å":"ENG","ð' ":"oopf","ð'--¬":"ofr","'´":"oscr","ð''ª":"Oscr","ð'--'":"Ofr","ð'":"Oopf","º":"ordm",""":"oacute","'":"Oacute","²":"ograve","'":"Ograve","´":"ocirc","--":"Ocirc","¶":"ouml","":"Ouml","Å":"odblac","Å":"Odblac","µ":"otilde","":"Otilde","¸":"oslash","":"Oslash","Å":"omacr","Å":"Omacr","Å'":"oelig","Å'":"OElig","ð'--":"pfr","ð''
":"pscr","ð'":"popf","'":"Popf","ð'--'":"Pfr","ð''":"Pscr","ð'":"qopf","ð'--®":"qfr","ð''":"qscr","ð''¬":"Qscr","ð'----":"Qfr","'":"Qopf","ĸ":"kgreen","ð'--¯":"rfr","ð'£":"ropf","ð''":"rscr","'":"Rscr","''":"Re","''":"Ropf","Å":"racute","Å--":"Racute","Å":"rcaron","Å":"Rcaron","Å":"rcedil","Å":"Rcedil","ð'¤":"sopf","ð''":"sscr","ð'--°":"sfr","ð'":"Sopf","ð'--":"Sfr","ð''®":"Sscr","''":"oS","Å":"sacute","Å":"Sacute","Å'":"scirc","Å'":"Scirc","Å":"scaron","Å ":"Scaron","Å":"scedil","Å":"Scedil","":"szlig","ð'--±":"tfr","ð''":"tscr","ð'¥":"topf","ð''¯":"Tscr","ð'--":"Tfr","ð'":"Topf","Å¥":"tcaron","Ť":"Tcaron","Å£":"tcedil","Å":"Tcedil","'":"trade","ŧ":"tstrok","Å...":"Tstrok","ð''":"uscr","ð'...":"uopf","ð'--²":"ufr","ð'":"Uopf","ð'--":"Ufr","ð''°":"Uscr","º":"uacute","":"Uacute","¹":"ugrave","":"Ugrave","Å":"ubreve","Ŭ":"Ubreve",">>":"ucirc","":"Ucirc","ů":"uring","Å®":"Uring","¼":"uuml","'":"Uuml","ű":"udblac","Ű":"Udblac","Å(C)":"utilde","Ũ":"Utilde","Å"":"uogon","Ų":"Uogon","Å":"umacr","Ū":"Umacr","ð'--"":"vfr","ð'§":"vopf","ð''":"vscr","ð'--":"Vfr","ð'":"Vopf","ð''±":"Vscr","ð'¨":"wopf","ð''":"wscr","ð'--´":"wfr","ð''²":"Wscr","ð'":"Wopf","ð'--":"Wfr","ŵ":"wcirc","Å´":"Wcirc","ð'--µ":"xfr","ð''":"xscr","ð'(C)":"xopf","ð'":"Xopf","ð'--":"Xfr","ð''"":"Xscr","ð'--¶":"yfr","ð''":"yscr","ð'ª":"yopf","ð''´":"Yscr","ð'--'":"Yfr","ð'":"Yopf","½":"yacute","'":"Yacute","Å·":"ycirc","Ŷ":"Ycirc","":"yuml","Ÿ":"Yuml","ð''":"zscr","ð'--·":"zfr","ð'":"zopf","'¨":"Zfr","'¤":"Zopf","ð''µ":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Å>>":"Zdot","Ƶ":"imped","¾":"thorn","":"THORN","Å":"napos","α":"alpha","Î":"Alpha","β":"beta","Î'":"Beta","Î"":"gamma","Î'":"Gamma","δ":"delta","Î--":"Delta","ε":"epsi","ϵ":"epsiv","Î":"Epsilon","Ï'":"gammad","Ï'":"Gammad","ζ":"zeta","Î":"Zeta","η":"eta","Î":"Eta","θ":"theta","Ï":"thetav","Î":"Theta","ι":"iota","Î":"Iota","κ":"kappa","ϰ":"kappav","Î":"Kappa","Î>>":"lambda","Î":"Lambda","μ":"mu","µ":"micro","Î'":"Mu","ν":"nu","Î'":"Nu","ξ":"xi","Î":"Xi","Î":"omicron","Î":"Omicron","Ï":"pi","Ï":"piv","Î ":"Pi","Ï":"rho","ϱ":"rhov","Î":"Rho","Ï":"sigma","Σ":"Sigma","Ï":"sigmaf","Ï":"tau","Τ":"Tau","Ï
":"upsi","Î¥":"Upsilon","Ï'":"Upsi","Ï":"phi","Ï":"phiv","Î...":"Phi","Ï":"chi","Χ":"Chi","Ï":"psi","Ψ":"Psi","Ï":"omega","Î(C)":"ohm","а":"acy","Ð":"Acy","б":"bcy","Ð":"Bcy","в":"vcy","Ð'":"Vcy","Ð"":"gcy","Ð'":"Gcy","Ñ'":"gjcy","Ð":"GJcy","д":"dcy","Ð--":"Dcy","Ñ'":"djcy","Ð":"DJcy","е":"iecy","Ð":"IEcy","Ñ":"iocy","Ð":"IOcy","Ñ--":"jukcy","Ð":"Jukcy","ж":"zhcy","Ð":"ZHcy","з":"zcy","Ð":"Zcy","Ñ":"dscy","Ð
":"DScy","и":"icy","Ð":"Icy","Ñ":"iukcy","Ð":"Iukcy","Ñ":"yicy","Ð":"YIcy","й":"jcy","Ð":"Jcy","Ñ":"jsercy","Ð":"Jsercy","к":"kcy","Ð":"Kcy","Ñ'":"kjcy","Ð":"KJcy","Ð>>":"lcy","Ð":"Lcy","Ñ":"ljcy","Ð":"LJcy","м":"mcy","Ð'":"Mcy","н":"ncy","Ð'":"Ncy","Ñ":"njcy","Ð":"NJcy","о":"ocy","Ð":"Ocy","Ð":"pcy","Ð":"Pcy","Ñ":"rcy","Ð ":"Rcy","Ñ":"scy","Ð":"Scy","Ñ":"tcy","Ð":"Tcy","Ñ":"tshcy","Ð":"TSHcy","Ñ":"ucy","У":"Ucy","Ñ":"ubrcy","Ð":"Ubrcy","Ñ":"fcy","Ф":"Fcy","Ñ
":"khcy","Ð¥":"KHcy","Ñ":"tscy","Ð...":"TScy","Ñ":"chcy","Ч":"CHcy","Ñ":"dzcy","Ð":"DZcy","Ñ":"shcy","Ш":"SHcy","Ñ":"shchcy","Ð(C)":"SHCHcy","Ñ":"hardcy","Ъ":"HARDcy","Ñ":"ycy","Ð":"Ycy","Ñ":"softcy","Ь":"SOFTcy","Ñ":"ecy","Ð":"Ecy","Ñ":"yucy","Ю":"YUcy","Ñ":"yacy","Я":"YAcy","'µ":"aleph","'¶":"beth","'·":"gimel","'¸":"daleth"},i=/["&'`]/g,n={'"':""","&":"&","'":"'","":">","`":"`"},p=/(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|([0-9]+)(;?)|[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"",Aacute:"",abreve:"Ä",Abreve:"Ä",ac:"'¾",acd:"'",acE:"'¾Ì"",acirc:"",Acirc:"",acute:"´",acy:"а",Acy:"Ð",aelig:"...",AElig:"",af:"'",afr:"ð'--",Afr:"ð'--",agrave:" ",Agrave:"",alefsym:"'µ",aleph:"'µ",alpha:"α",Alpha:"Î",amacr:"Ä",Amacr:"Ä",amalg:"'¨",amp:"&",AMP:"&",and:"'§",And:"'(C)'",andand:"'(C)",andd:"'(C)'",andslope:"'(C)",andv:"'(C)",ang:"' ",ange:"'...¤",angle:"' ",angmsd:"'",angmsdaa:"'...¨",angmsdab:"'...(C)",angmsdac:"'...ª",angmsdad:"'...",angmsdae:"'...¬",angmsdaf:"'...",angmsdag:"'...®",angmsdah:"'...¯",angrt:"'",angrtvb:"'¾",angrtvbd:"'...'",angsph:"'",angst:"
",angzarr:"'¼",aogon:"Ä
",Aogon:"Ä",aopf:"ð''",Aopf:"ð'--¸",ap:"'",apacir:"'(C)¯",ape:"'",apE:"'(C)°",apid:"'",apos:"'",ApplyFunction:"'",approx:"'",approxeq:"'",aring:"¥",Aring:"
",ascr:"ð''¶",Ascr:"ð'''",Assign:"'--",ast:"*",asymp:"'",asympeq:"'",atilde:"£",Atilde:"",auml:"¤",Auml:"",awconint:"'"",awint:"'¨",backcong:"'",backepsilon:"϶",backprime:"'µ",backsim:"'½",backsimeq:"'",Backslash:"'",Barv:"'§",barvee:"'½",barwed:"'
",Barwed:"'",barwedge:"'
",bbrk:"'µ",bbrktbrk:"'¶",bcong:"'",bcy:"б",Bcy:"Ð",bdquo:"'",becaus:"'µ",because:"'µ",Because:"'µ",bemptyv:"'...°",bepsi:"϶",bernou:"'¬",Bernoullis:"'¬",beta:"β",Beta:"Î'",beth:"'¶",between:"'¬",bfr:"ð'--",Bfr:"ð'--
",bigcap:"'",bigcirc:"'¯",bigcup:"'",bigodot:"'¨",bigoplus:"'¨",bigotimes:"'¨",bigsqcup:"'¨",bigstar:"'
",bigtriangledown:"'½",bigtriangleup:"'"",biguplus:"'¨",bigvee:"'",bigwedge:"'",bkarow:"'¤",blacklozenge:"'§",blacksquare:"'ª",blacktriangle:"'´",blacktriangledown:"'¾",blacktriangleleft:"'",blacktriangleright:"'¸",blank:"'£",blk12:"''",blk14:"'",blk34:"''",block:"'",bne:"='¥",bnequiv:"''¥",bnot:"'",bNot:"'",bopf:"ð''",Bopf:"ð'--¹",bot:"'¥",bottom:"'¥",bowtie:"'",boxbox:"'§",boxdl:"'--",boxdL:"'",boxDl:"'",boxDL:"'",boxdr:"'--",boxdR:"''",boxDr:"''",boxDR:"'--",boxh:"'--",boxH:"'",boxhd:"'--¬",boxhD:"'¥",boxHd:"'¤",boxHD:"'...",boxhu:"'--´",boxhU:"'¨",boxHu:"'§",boxHU:"'(C)",boxminus:"'",boxplus:"'",boxtimes:"' ",boxul:"'--",boxuL:"'",boxUl:"''",boxUL:"''",boxur:"'----",boxuR:"'",boxUr:"'",boxUR:"'",boxv:"'--",boxV:"'",boxvh:"'--¼",boxvH:"'ª",boxVh:"'",boxVH:"'¬",boxvl:"'--¤",boxvL:"'",boxVl:"'",boxVL:"'£",boxvr:"'--'",boxvR:"'",boxVr:"'",boxVR:"' ",bprime:"'µ",breve:"Ë",Breve:"Ë",brvbar:"...",bscr:"ð''·",Bscr:"'¬",bsemi:"'",bsim:"'½",bsime:"'",bsol:"\\",bsolb:"'§
",bsolhsub:"'",bull:"'",bullet:"'",bump:"'",bumpe:"'",bumpE:"'ª®",bumpeq:"'",Bumpeq:"'",cacute:"Ä",Cacute:"Ä",cap:"'(C)",Cap:"''",capand:"'(C)",capbrcup:"'(C)",capcap:"'(C)",capcup:"'(C)",capdot:"'(C)",CapitalDifferentialD:"'
",caps:"'(C)¸",caret:"'",caron:"Ë",Cayleys:"'",ccaps:"'(C)",ccaron:"Ä",Ccaron:"Ä",ccedil:"§",Ccedil:"",ccirc:"Ä",Ccirc:"Ä",Cconint:"'°",ccups:"'(C)",ccupssm:"'(C)",cdot:"Ä",Cdot:"Ä",cedil:"¸",Cedilla:"¸",cemptyv:"'...²",cent:"",centerdot:"·",CenterDot:"·",cfr:"ð'-- ",Cfr:"'",chcy:"Ñ",CHcy:"Ч",check:"'''",checkmark:"'''",chi:"Ï",Chi:"Χ",cir:"'",circ:"Ë",circeq:"'",circlearrowleft:"'º",circlearrowright:"'>>",circledast:"'",circledcirc:"'",circleddash:"''",CircleDot:"'",circledR:"®",circledS:"''",CircleMinus:"'",CirclePlus:"'",CircleTimes:"'",cire:"'",cirE:"'§",cirfnint:"'¨",cirmid:"'¯",cirscir:"'§",ClockwiseContourIntegral:"'²",CloseCurlyDoubleQuote:"''",CloseCurlyQuote:"'",clubs:"'£",clubsuit:"'£",colon:":",Colon:"'·",colone:"'--",Colone:"'(C)´",coloneq:"'--",comma:",",commat:"@",comp:"'",compfn:"'",complement:"'",complexes:"'",cong:"'
",congdot:"'(C)",Congruent:"'",conint:"'®",Conint:"'¯",ContourIntegral:"'®",copf:"ð'--",Copf:"'",coprod:"'",Coproduct:"'",copy:"(C)",COPY:"(C)",copysr:"'",CounterClockwiseContourIntegral:"'"",crarr:"'µ",cross:"''",Cross:"'¨¯",cscr:"ð''¸",Cscr:"ð''",csub:"'",csube:"'",csup:"'",csupe:"''",ctdot:"'¯",cudarrl:"'¤¸",cudarrr:"'¤µ",cuepr:"'",cuesc:"'",cularr:"'¶",cularrp:"'¤½",cup:"'ª",Cup:"''",cupbrcap:"'(C)",cupcap:"'(C)",CupCap:"'",cupcup:"'(C)",cupdot:"'",cupor:"'(C)
",cups:"'ª¸",curarr:"'·",curarrm:"'¤¼",curlyeqprec:"'",curlyeqsucc:"'",curlyvee:"'",curlywedge:"'",curren:"¤",curvearrowleft:"'¶",curvearrowright:"'·",cuvee:"'",cuwed:"'",cwconint:"'²",cwint:"'±",cylcty:"'",dagger:"' ",Dagger:"'",daleth:"'¸",darr:"''",dArr:"''",Darr:"'",dash:"'",dashv:"'£",Dashv:"'¤",dbkarow:"'¤",dblac:"Ë'",dcaron:"Ä",Dcaron:"Ä",dcy:"д",Dcy:"Ð--",dd:"'
",DD:"'
",ddagger:"'",ddarr:"'",DDotrahd:"'¤",ddotseq:"'(C)·",deg:"°",Del:"'",delta:"δ",Delta:"Î--",demptyv:"'...±",dfisht:"'¥",dfr:"ð'--",Dfr:"ð'--",dHar:"'¥¥",dharl:"'",dharr:"'",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë'",DiacriticalGrave:"`",DiacriticalTilde:"Ë'",diam:"'",diamond:"'",Diamond:"'",diamondsuit:"'...",diams:"'...",die:"¨",DifferentialD:"'
",digamma:"Ï'",disin:"'²",div:"·",divide:"·",divideontimes:"'",divonx:"'",djcy:"Ñ'",DJcy:"Ð",dlcorn:"'",dlcrop:"'",dollar:"$",dopf:"ð'",Dopf:"ð'-->>",dot:"Ë",Dot:"¨",DotDot:"''",doteq:"'",doteqdot:"'",DotEqual:"'",dotminus:"'¸",dotplus:"'--",dotsquare:"'",doublebarwedge:"'",DoubleContourIntegral:"'¯",DoubleDot:"¨",DoubleDownArrow:"''",DoubleLeftArrow:"'",DoubleLeftRightArrow:"'--",DoubleLeftTee:"'¤",DoubleLongLeftArrow:"'¸",DoubleLongLeftRightArrow:"'º",DoubleLongRightArrow:"'¹",DoubleRightArrow:"''",DoubleRightTee:"'¨",DoubleUpArrow:"'",DoubleUpDownArrow:"'",DoubleVerticalBar:"'¥",downarrow:"''",Downarrow:"''",DownArrow:"''",DownArrowBar:"'¤'",DownArrowUpArrow:"'µ",DownBreve:"Ì",downdownarrows:"'",downharpoonleft:"'",downharpoonright:"'",DownLeftRightVector:"'¥",DownLeftTeeVector:"'¥",DownLeftVector:"'½",DownLeftVectorBar:"'¥",DownRightTeeVector:"'¥",DownRightVector:"'",DownRightVectorBar:"'¥",DownTee:"'¤",DownTeeArrow:"'§",drbkarow:"'¤",drcorn:"'",drcrop:"'",dscr:"ð''¹",Dscr:"ð''",dscy:"Ñ",DScy:"Ð
",dsol:"'§¶",dstrok:"Ä",Dstrok:"Ä",dtdot:"'±",dtri:"'",dtrif:"'¾",duarr:"'µ",duhar:"'¥¯",dwangle:"'......",dzcy:"Ñ",DZcy:"Ð",dzigrarr:"'",eacute:"(C)",Eacute:"",easter:"'(C)®",ecaron:"Ä",Ecaron:"Ä",ecir:"'",ecirc:"ª",Ecirc:"",ecolon:"'",ecy:"Ñ",Ecy:"Ð",eDDot:"'(C)·",edot:"Ä",eDot:"'",Edot:"Ä",ee:"'
",efDot:"''",efr:"ð'--",Efr:"ð'--",eg:"'ª",egrave:"¨",Egrave:"",egs:"'ª",egsdot:"'ª",el:"'ª",Element:"'",elinters:"'§",ell:"''",els:"'ª",elsdot:"'ª",emacr:"Ä'",Emacr:"Ä'",empty:"'
",emptyset:"'
",EmptySmallSquare:"'>>",emptyv:"'
",EmptyVerySmallSquare:"'",emsp:"'",emsp13:"'",emsp14:"'
",eng:"Å",ENG:"Å",ensp:"'",eogon:"Ä",Eogon:"Ä",eopf:"ð'",Eopf:"ð'--¼",epar:"'",eparsl:"'§£",eplus:"'(C)±",epsi:"ε",epsilon:"ε",Epsilon:"Î",epsiv:"ϵ",eqcirc:"'",eqcolon:"'",eqsim:"'",eqslantgtr:"'ª",eqslantless:"'ª",Equal:"'(C)µ",equals:"=",EqualTilde:"'",equest:"'",Equilibrium:"'",equiv:"'",equivDD:"'(C)¸",eqvparsl:"'§¥",erarr:"'¥±",erDot:"''",escr:"'¯",Escr:"'°",esdot:"'",esim:"'",Esim:"'(C)"",eta:"η",Eta:"Î",eth:"°",ETH:"",euml:"",Euml:"",euro:"'¬",excl:"!",exist:"'",Exists:"'",expectation:"'°",exponentiale:"'
",ExponentialE:"'
",fallingdotseq:"''",fcy:"Ñ",Fcy:"Ф",female:"'",ffilig:"¬",fflig:"¬",ffllig:"¬",ffr:"ð'--£",Ffr:"ð'--",filig:"¬",FilledSmallSquare:"'¼",FilledVerySmallSquare:"'ª",fjlig:"fj",flat:"'",fllig:"¬",fltns:"'±",fnof:"Æ'",fopf:"ð'",Fopf:"ð'--½",forall:"'",ForAll:"'",fork:"'--",forkv:"'",Fouriertrf:"'±",fpartint:"'¨",frac12:"½",frac13:"'
'",frac14:"¼",frac15:"'
",frac16:"'
",frac18:"'
",frac23:"'
--",frac25:"'
",frac34:"¾",frac35:"'
",frac38:"'
'",frac45:"'
",frac56:"'
",frac58:"'
'",frac78:"'
",frasl:"'",frown:"'",fscr:"ð''>>",Fscr:"'±",gacute:"ǵ",gamma:"Î"",Gamma:"Î'",gammad:"Ï'",Gammad:"Ï'",gap:"'ª",gbreve:"Ä",Gbreve:"Ä",Gcedil:"Ä",gcirc:"Ä'",Gcirc:"Ä'",gcy:"Ð"",Gcy:"Ð'",gdot:"Ä",Gdot:"Ä ",ge:"'¥",gE:"'§",gel:"'",gEl:"'ª",geq:"'¥",geqq:"'§",geqslant:"'(C)¾",ges:"'(C)¾",gescc:"'ª(C)",gesdot:"'ª",gesdoto:"'ª",gesdotol:"'ª",gesl:"'¸",gesles:"'ª--",gfr:"ð'--¤",Gfr:"ð'--",gg:"'",Gg:"'",ggg:"'",gimel:"'·",gjcy:"Ñ'",GJcy:"Ð",gl:"'·",gla:"'ª¥",glE:"'ª'",glj:"'ª¤",gnap:"'ª",gnapprox:"'ª",gne:"'ª",gnE:"'(C)",gneq:"'ª",gneqq:"'(C)",gnsim:"'§",gopf:"ð'",Gopf:"ð'--¾",grave:"`",GreaterEqual:"'¥",GreaterEqualLess:"'",GreaterFullEqual:"'§",GreaterGreater:"'ª",GreaterLess:"'·",GreaterSlantEqual:"'(C)¾",GreaterTilde:"'"",gscr:"'",Gscr:"ð''",gsim:"'"",gsime:"'ª",gsiml:"'ª",gt:">",Gt:"'",GT:">",gtcc:"'ª§",gtcir:"'(C)º",gtdot:"'",gtlPar:"'...",gtquest:"'(C)¼",gtrapprox:"'ª",gtrarr:"'¥¸",gtrdot:"'",gtreqless:"'",gtreqqless:"'ª",gtrless:"'·",gtrsim:"'"",gvertneqq:"'(C)¸",gvnE:"'(C)¸",Hacek:"Ë",hairsp:"'",half:"½",hamilt:"'",hardcy:"Ñ",HARDcy:"Ъ",harr:"'--",hArr:"'--",harrcir:"'¥",harrw:"'",Hat:"^",hbar:"'",hcirc:"Ä¥",Hcirc:"Ĥ",hearts:"'¥",heartsuit:"'¥",hellip:"'...",hercon:"'¹",hfr:"ð'--¥",Hfr:"'",HilbertSpace:"'",hksearow:"'¤¥",hkswarow:"'¤...",hoarr:"'",homtht:"'>>",hookleftarrow:"'(C)",hookrightarrow:"'ª",hopf:"ð'",Hopf:"'",horbar:"'",HorizontalLine:"'--",hscr:"ð''½",Hscr:"'",hslash:"'",hstrok:"ħ",Hstrok:"Ä...",HumpDownHump:"'",HumpEqual:"'",hybull:"'",hyphen:"'",iacute:"",Iacute:"",ic:"'£",icirc:"®",Icirc:"",icy:"и",Icy:"Ð",Idot:"İ",iecy:"е",IEcy:"Ð",iexcl:"",iff:"'--",ifr:"ð'--...",Ifr:"'",igrave:"¬",Igrave:"",ii:"'
",iiiint:"'¨",iiint:"'",iinfin:"'§'",iiota:"'(C)",ijlig:"Ä"",IJlig:"IJ",Im:"'",imacr:"Ä",Imacr:"Ī",image:"'",ImaginaryI:"'
",imagline:"'",imagpart:"'",imath:"ı",imof:"'·",imped:"Ƶ",Implies:"''",in:"'",incare:"'
",infin:"'",infintie:"'§'",inodot:"ı",int:"'",Int:"'¬",intcal:"'º",integers:"'¤",Integral:"'",intercal:"'º",Intersection:"'",intlarhk:"'¨",intprod:"'¨¼",InvisibleComma:"'£",InvisibleTimes:"'",iocy:"Ñ",IOcy:"Ð",iogon:"į",Iogon:"Ä®",iopf:"ð'",Iopf:"ð'",iota:"ι",Iota:"Î",iprod:"'¨¼",iquest:"",iscr:"ð''¾",Iscr:"'",isin:"'",isindot:"'µ",isinE:"'¹",isins:"'´",isinsv:"'"",isinv:"'",it:"'",itilde:"Ä(C)",Itilde:"Ĩ",iukcy:"Ñ",Iukcy:"Ð",iuml:"¯",Iuml:"",jcirc:"ĵ",Jcirc:"Ä´",jcy:"й",Jcy:"Ð",jfr:"ð'--§",Jfr:"ð'--",jmath:"È·",jopf:"ð'",Jopf:"ð'",jscr:"ð''",Jscr:"ð''¥",jsercy:"Ñ",Jsercy:"Ð",jukcy:"Ñ--",Jukcy:"Ð",kappa:"κ",Kappa:"Î",kappav:"ϰ",kcedil:"Ä·",Kcedil:"Ķ",kcy:"к",Kcy:"Ð",kfr:"ð'--¨",Kfr:"ð'--",kgreen:"ĸ",khcy:"Ñ
",KHcy:"Ð¥",kjcy:"Ñ'",KJcy:"Ð",kopf:"ð''",Kopf:"ð'",kscr:"ð''",Kscr:"ð''...",lAarr:"'",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"'...´",lagran:"''",lambda:"Î>>",Lambda:"Î",lang:"'¨",Lang:"'ª",langd:"'...",langle:"'¨",lap:"'ª
",Laplacetrf:"''",laquo:"",larr:"'",lArr:"'",Larr:"'",larrb:"'¤",larrbfs:"'¤",larrfs:"'¤'",larrhk:"'(C)",larrlp:"'",larrpl:"'¤¹",larrsim:"'¥"",larrtl:"'",lat:"'ª",latail:"'¤",lAtail:"'¤",late:"'ª",lates:"'ª¸",lbarr:"'¤",lBarr:"'¤",lbbrk:"''²",lbrace:"{",lbrack:"[",lbrke:"'...",lbrksld:"'...",lbrkslu:"'...",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ä>>",lceil:"'",lcub:"{",lcy:"Ð>>",Lcy:"Ð",ldca:"'¤¶",ldquo:"''",ldquor:"'",ldrdhar:"'¥§",ldrushar:"'¥",ldsh:"'²",le:"'¤",lE:"'...",LeftAngleBracket:"'¨",leftarrow:"'",Leftarrow:"'",LeftArrow:"'",LeftArrowBar:"'¤",LeftArrowRightArrow:"'",leftarrowtail:"'",LeftCeiling:"'",LeftDoubleBracket:"'...",LeftDownTeeVector:"'¥",LeftDownVector:"'",LeftDownVectorBar:"'¥",LeftFloor:"'",leftharpoondown:"'½",leftharpoonup:"'¼",leftleftarrows:"'",leftrightarrow:"'--",Leftrightarrow:"'--",LeftRightArrow:"'--",leftrightarrows:"'",leftrightharpoons:"'",leftrightsquigarrow:"'",LeftRightVector:"'¥",LeftTee:"'£",LeftTeeArrow:"'¤",LeftTeeVector:"'¥",leftthreetimes:"'",LeftTriangle:"'²",LeftTriangleBar:"'§",LeftTriangleEqual:"'´",LeftUpDownVector:"'¥",LeftUpTeeVector:"'¥ ",LeftUpVector:"'",LeftUpVectorBar:"'¥",LeftVector:"'¼",LeftVectorBar:"'¥'",leg:"'",lEg:"'ª",leq:"'¤",leqq:"'...",leqslant:"'(C)½",les:"'(C)½",lescc:"'ª¨",lesdot:"'(C)",lesdoto:"'ª",lesdotor:"'ª",lesg:"'¸",lesges:"'ª'",lessapprox:"'ª
",lessdot:"'",lesseqgtr:"'",lesseqqgtr:"'ª",LessEqualGreater:"'",LessFullEqual:"'...",LessGreater:"'¶",lessgtr:"'¶",LessLess:"'ª",lesssim:"'²",LessSlantEqual:"'(C)½",LessTilde:"'²",lfisht:"'¥¼",lfloor:"'",lfr:"ð'--(C)",Lfr:"ð'--",lg:"'¶",lgE:"'ª",lHar:"'¥",lhard:"'½",lharu:"'¼",lharul:"'¥ª",lhblk:"'",ljcy:"Ñ",LJcy:"Ð",ll:"'ª",Ll:"'",llarr:"'",llcorner:"'",Lleftarrow:"'",llhard:"'¥",lltri:"'º",lmidot:"Å",Lmidot:"Ä",lmoust:"'°",lmoustache:"'°",lnap:"'ª",lnapprox:"'ª",lne:"'ª",lnE:"'¨",lneq:"'ª",lneqq:"'¨",lnsim:"'...",loang:"'¬",loarr:"'½",lobrk:"'...",longleftarrow:"'µ",Longleftarrow:"'¸",LongLeftArrow:"'µ",longleftrightarrow:"'·",Longleftrightarrow:"'º",LongLeftRightArrow:"'·",longmapsto:"'¼",longrightarrow:"'¶",Longrightarrow:"'¹",LongRightArrow:"'¶",looparrowleft:"'",looparrowright:"'¬",lopar:"'...
",lopf:"ð''",Lopf:"ð'",loplus:"'¨",lotimes:"'¨´",lowast:"'",lowbar:"_",LowerLeftArrow:"'",LowerRightArrow:"'",loz:"'",lozenge:"'",lozf:"'§",lpar:"(",lparlt:"'...'",lrarr:"'",lrcorner:"'",lrhar:"'",lrhard:"'¥",lrm:"'",lrtri:"'",lsaquo:"'¹",lscr:"ð''",Lscr:"''",lsh:"'°",Lsh:"'°",lsim:"'²",lsime:"'ª",lsimg:"'ª",lsqb:"[",lsquo:"'",lsquor:"'",lstrok:"Å",Lstrok:"Å",lt:"''",nvHarr:"'¤",nvinfin:"'§",nvlArr:"'¤",nvle:"'¤''",nvlt:"",GT:">",iacute:"",Iacute:"",icirc:"®",Icirc:"",iexcl:"",igrave:"¬",Igrave:"",iquest:"",iuml:"¯",Iuml:"",laquo:"",lt:"=55296&&r1114111?(e&&x("character reference outside the permissible Unicode range"),"½"):w(b,r)?(e&&x("disallowed character reference"),b[r]):(e&&function(r,e){for(var a=-1,t=r.length;++a65535&&(a+=q((r-=65536)>>>10&1023|55296),r=56320|1023&r),a+=q(r))},A=function(r){return""+r.toString(16).toUpperCase()+";"},E=function(r){return""+r+";"},x=function(r){throw Error("Parse error: "+r)},k=function(r,e){(e=D(e,k.options)).strict&&d.test(r)&&x("forbidden code point");var a=e.encodeEverything,t=e.useNamedReferences,n=e.allowUnsafeSymbols,p=e.decimal?E:A,g=function(r){return p(r.charCodeAt(0))};return a?(r=r.replace(s,function(r){return t&&w(l,r)?"&"+l[r]+";":g(r)}),t&&(r=r.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),t&&(r=r.replace(c,function(r){return"&"+l[r]+";"}))):t?(n||(r=r.replace(i,function(r){return"&"+l[r]+";"})),r=(r=r.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(c,function(r){return"&"+l[r]+";"})):n||(r=r.replace(i,g)),r.replace(o,function(r){var e=r.charCodeAt(0),a=r.charCodeAt(1);return p(1024*(e-55296)+a-56320+65536)}).replace(u,g)};k.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var L=function(r,e){var a=(e=D(e,L.options)).strict;return a&&p.test(r)&&x("malformed character reference"),r.replace(g,function(r,t,o,s,u,c,l,i,n){var p,d,g,b,h,q;return t?m[h=t]:o?(h=o,(q=s)&&e.isAttributeValue?(a&&"="==q&&x("`&` did not start a character reference"),r):(a&&x("named character reference was not terminated by a semicolon"),f[h]+(q||""))):u?(g=u,d=c,a&&!d&&x("character reference was not terminated by a semicolon"),p=parseInt(g,10),y(p,a)):l?(b=l,d=i,a&&!d&&x("character reference was not terminated by a semicolon"),p=parseInt(b,16),y(p,a)):(a&&x("named character reference was not terminated by a semicolon"),r)})};L.options={isAttributeValue:!1,strict:!1};var S={version:"1.2.0",encode:k,decode:L,escape:function(r){return r.replace(i,function(r){return n[r]})},unescape:L};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return S});else if(e&&!e.nodeType)if(a)a.exports=S;else for(var C in S)w(S,C)&&(e[C]=S[C]);else r.he=S}(this);}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}];window.modules["850"] = [function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){return e=unmatchedRightQuotes(e=unmatchedLeftQuotes(e=appendPlurals(e=appendWhitelist(e=quote(e=specialCase(e=inWord(e=prependDecades(e=prependWhitelist(e)))))))))};var a="'",l="'",r="'";function prependWhitelist(e){return e.replace(/'(tis|twas)/gi,a+"$1")}function prependDecades(e){return e.replace(/'(\d0s)/gi,a+"$1")}function inWord(e){return e.replace(/(\S)'(\S)/gi,"$1"+a+"$2").replace(/(\S)'(\S)/gi,"$1"+a+"$2")}function specialCase(e){return e.replace(/'(n)'/gi,a+"$1"+a)}function quote(e){return e.replace(/(^|\s)(?:"(.*?)"|'(.*?[^(?:o|ol|s)])')(\s|$)/,"$1"+l+"$2$3"+r+"$4")}function appendWhitelist(e){return e.replace(/(o|ol)'/gi,"$1"+a)}function appendPlurals(e){return e.replace(/(s)'(\s|$)/gi,"$1"+a+"$2")}function unmatchedLeftQuotes(e){return e.replace(/(^|\s)['"](.*?)/gi,"$1"+l+"$2")}function unmatchedRightQuotes(e){return e.replace(/(.*?)['"](\s|$)/gi,"$1"+r+"$2")}module.exports=exports.default;}, {}];window.modules["881"] = [function(require,module,exports){!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.WHATWGFetch={})}(this,function(t){"use strict";var e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==e&&e,r={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(r.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&o.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return r.iterable&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function f(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function u(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function c(t){var e=new FileReader,r=u(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var t=f(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=f(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(c)}),this.text=function(){var t,e,r,o=f(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=u(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function m(t,e){if(!(this instanceof m))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.statuse.position}),e=0;c.length>e;e+=1)c[e]=c[e].data;c.unshift(null),n.apply(null,c)},o=function(o,i){e(a[l],function(e,o){if(!t){if(t=e,e)return n(e);c.push({data:o,position:i}),c.length===a.length&&r()}})},l=0;a.length>l;l+=1)o(a[l],l)};i.noConflict=function(){return n.jsonpClient=t,i},e=o?function(){var n,e,t=document.getElementsByTagName("head")[0];return e=function(n,e){var o=document.createElement("script"),r=!1;o.src=n,o.async=!0,o.onload=o.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,o.onload=o.onreadystatechange=null,o&&o.parentNode&&o.parentNode.removeChild(o),e())},t.appendChild(o)},n=function(n,e){var t=n.match(r);if(!t)return e(new Error("Could not find callback on URL"));e(null,t[1])},function(t,o){n(t,function(n,r){var i,a=window[r];if(n)return o(n);window[r]=function(n){i=n},e(t,function(n){if(n||i||(n=new Error("Calling to "+r+" did not returned a JSON response.Make sure the callback "+r+" exists and is properly formatted.")),a)window[r]=a;else try{delete window[r]}catch(n){window[r]=void 0}o(n,i)})})}}():require(915),"undefined"!=typeof module&&module.exports?module.exports=i:n.jsonpClient=i}(this);}).call(this)}).call(this,require(36))}, {"36":36,"915":915}];window.modules["915"] = [function(require,module,exports){(function (process,global){(function (){"use strict";var evalJsonp,parseJsonp,evalOrParseJavascript,fetchRemoteJsonp,fetchUrl,fetchLocalJsonp,request=require(474),vm=require(916),fs=require(556),parensRegex=/(^\(|\);?\s*$)/,functionRegex=/^[a-z\d_]*\(/i,functionNameRegex=/([\w\d_]*)\(/,enableLocalFileSupport="test"===window.process.env.NODE_ENV||window.process.env.JSONP_CLIENT_ENABLE_LOCAL_SUPPORT;if("test"===window.process.env.NODE_ENV&&window.process.env.SUPERAGENT_MOCK){var mockConfig=global.superAgentMockConfig||require(window.process.env.SUPERAGENT_MOCK);require(474)(request,mockConfig)}parseJsonp=function(e,t){var r,n,o=null;try{r=e.replace(functionRegex,"").replace(parensRegex,""),n=JSON.parse(r)}catch(e){o=e}t(o,n)},evalJsonp=function(e,t){var r,n;e=(e||"")+"",r=vm.createContext({error:null,cbData:null}),n="function "+(e.match(functionNameRegex)||[null,!1])[1]+" (data) { cbData = data } try { "+e+" } catch(e) { error = e;} ";try{vm.runInContext(n,r)}catch(e){t(new Error(e))}if(r.error)return t(new Error(r.error));t(null,r.cbData)},evalOrParseJavascript=function(e,t){e=e.toString(),parseJsonp(e,function(r,n){if(r)return evalJsonp(e,function(e,r){t(e,r)});t(r,n)})},fetchUrl=function(e,t){request.get(e).buffer(!0).accept("application/javascript").parse(function(e,t){e.text="",e.setEncoding("utf8"),e.on("data",function(t){e.text=e.text+t}),e.on("end",t)}).end(function(r,n){!r&&n&&n.status&&n.status>=400&&(r=new Error("Could not fetch url "+e+", with status "+(n&&n.status||"unknown")+". Got error: "+(r&&r.message)+".")),t(r,n&&n.text||"cb({})")})},fetchRemoteJsonp=function(e,t){fetchUrl(e,function(e,r){if(e)return t(e);evalOrParseJavascript(r,t)})},fetchLocalJsonp=enableLocalFileSupport?function(e,t){e=e.split("?")[0],fs.readFile(e,function(e,r){if(e)return t(e);evalOrParseJavascript(r,t)})}:fetchRemoteJsonp,module.exports=function(e,t){e.match(/^http/)?fetchRemoteJsonp(e,t):fetchLocalJsonp(e,t)};}).call(this)}).call(this,require(36),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"36":36,"474":474,"556":556,"916":916}];window.modules["916"] = [function(require,module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n-1}module.exports=listCacheHas;}, {"988":988}];window.modules["935"] = [function(require,module,exports){var assocIndexOf=require(988);function listCacheSet(s,e){var t=this.__data__,a=assocIndexOf(t,s);return a-1}module.exports=arrayIncludes;}, {"964":964}];window.modules["964"] = [function(require,module,exports){var baseFindIndex=require(1019),baseIsNaN=require(1036),strictIndexOf=require(1037);function baseIndexOf(e,s,n){return s==s?strictIndexOf(e,s,n):baseFindIndex(e,baseIsNaN,n)}module.exports=baseIndexOf;}, {"1019":1019,"1036":1036,"1037":1037}];window.modules["965"] = [function(require,module,exports){function arrayIncludesWith(r,n,e){for(var t=-1,u=null==r?0:r.length;++t-1&&e%1==0&&e=o?e:o)),e}module.exports=baseClamp;}, {}];window.modules["995"] = [function(require,module,exports){var Stack=require(950),arrayEach=require(960),assignValue=require(987),baseAssign=require(989),baseAssignIn=require(991),cloneBuffer=require(999),copyArray=require(977),copySymbols=require(1002),copySymbolsIn=require(1000),getAllKeys=require(1001),getAllKeysIn=require(996),getTag=require(997),initCloneArray=require(998),initCloneByTag=require(1006),initCloneObject=require(1003),isArray=require(187),isBuffer=require(969),isMap=require(1005),isObject=require(126),isSet=require(1004),keys=require(186),keysIn=require(992),CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};function baseClone(e,a,r,n,g,o){var t,l=a&CLONE_DEEP_FLAG,i=a&CLONE_FLAT_FLAG,s=a&CLONE_SYMBOLS_FLAG;if(r&&(t=g?r(e,n,g,o):r(e)),void 0!==t)return t;if(!isObject(e))return e;var c=isArray(e);if(c){if(t=initCloneArray(e),!l)return copyArray(e,t)}else{var T=getTag(e),b=T==funcTag||T==genTag;if(isBuffer(e))return cloneBuffer(e,l);if(T==objectTag||T==argsTag||b&&!g){if(t=i||b?{}:initCloneObject(e),!l)return i?copySymbolsIn(e,baseAssignIn(t,e)):copySymbols(e,baseAssign(t,e))}else{if(!cloneableTags[T])return g?e:{};t=initCloneByTag(e,T,l)}}o||(o=new Stack);var u=o.get(e);if(u)return u;o.set(e,t),isSet(e)?e.forEach(function(n){t.add(baseClone(n,a,r,n,e,o))}):isMap(e)&&e.forEach(function(n,g){t.set(g,baseClone(n,a,r,g,e,o))});var y=c?void 0:(s?i?getAllKeysIn:getAllKeys:i?keysIn:keys)(e);return arrayEach(y||e,function(n,g){y&&(n=e[g=n]),assignValue(t,g,baseClone(n,a,r,g,e,o))}),t}cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1,module.exports=baseClone;}, {"126":126,"186":186,"187":187,"950":950,"960":960,"969":969,"977":977,"987":987,"989":989,"991":991,"992":992,"996":996,"997":997,"998":998,"999":999,"1000":1000,"1001":1001,"1002":1002,"1003":1003,"1004":1004,"1005":1005,"1006":1006}];window.modules["996"] = [function(require,module,exports){var baseGetAllKeys=require(1029),getSymbolsIn=require(1127),keysIn=require(992);function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,getSymbolsIn)}module.exports=getAllKeysIn;}, {"992":992,"1029":1029,"1127":1127}];window.modules["997"] = [function(require,module,exports){var DataView=require(919),Map=require(938),Promise=require(945),Set=require(946),WeakMap=require(958),baseGetTag=require(1030),toSource=require(1053),mapTag="[object Map]",objectTag="[object Object]",promiseTag="[object Promise]",setTag="[object Set]",weakMapTag="[object WeakMap]",dataViewTag="[object DataView]",dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(e){var a=baseGetTag(e),t=a==objectTag?e.constructor:void 0,r=t?toSource(t):"";if(r)switch(r){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return a}),module.exports=getTag;}, {"919":919,"938":938,"945":945,"946":946,"958":958,"1030":1030,"1053":1053}];window.modules["998"] = [function(require,module,exports){var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function initCloneArray(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&hasOwnProperty.call(t,"index")&&(n.index=t.index,n.input=t.input),n}module.exports=initCloneArray;}, {}];window.modules["999"] = [function(require,module,exports){var root=require(921),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer=moduleExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer(e,o){if(o)return e.slice();var r=e.length,f=allocUnsafe?allocUnsafe(r):new e.constructor(r);return e.copy(f),f}module.exports=cloneBuffer;}, {"921":921}];window.modules["1000"] = [function(require,module,exports){var copyObject=require(990),getSymbolsIn=require(1127);function copySymbolsIn(e,o){return copyObject(e,getSymbolsIn(e),o)}module.exports=copySymbolsIn;}, {"990":990,"1127":1127}];window.modules["1001"] = [function(require,module,exports){var baseGetAllKeys=require(1029),getSymbols=require(1126),keys=require(186);function getAllKeys(e){return baseGetAllKeys(e,keys,getSymbols)}module.exports=getAllKeys;}, {"186":186,"1029":1029,"1126":1126}];window.modules["1002"] = [function(require,module,exports){var copyObject=require(990),getSymbols=require(1126);function copySymbols(e,o){return copyObject(e,getSymbols(e),o)}module.exports=copySymbols;}, {"990":990,"1126":1126}];window.modules["1003"] = [function(require,module,exports){var baseCreate=require(929),getPrototype=require(1159),isPrototype=require(1065);function initCloneObject(e){return"function"!=typeof e.constructor||isPrototype(e)?{}:baseCreate(getPrototype(e))}module.exports=initCloneObject;}, {"929":929,"1065":1065,"1159":1159}];window.modules["1004"] = [function(require,module,exports){var baseIsSet=require(1056),baseUnary=require(1008),nodeUtil=require(1169),nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet;}, {"1008":1008,"1056":1056,"1169":1169}];window.modules["1005"] = [function(require,module,exports){var baseIsMap=require(1049),baseUnary=require(1008),nodeUtil=require(1169),nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap;}, {"1008":1008,"1049":1049,"1169":1169}];window.modules["1006"] = [function(require,module,exports){var cloneArrayBuffer=require(1121),cloneDataView=require(1122),cloneRegExp=require(1123),cloneSymbol=require(1124),cloneTypedArray=require(1080),boolTag="[object Boolean]",dateTag="[object Date]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";function initCloneByTag(e,a,r){var t=e.constructor;switch(a){case arrayBufferTag:return cloneArrayBuffer(e);case boolTag:case dateTag:return new t(+e);case dataViewTag:return cloneDataView(e,r);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(e,r);case mapTag:return new t;case numberTag:case stringTag:return new t(e);case regexpTag:return cloneRegExp(e);case setTag:return new t;case symbolTag:return cloneSymbol(e)}}module.exports=initCloneByTag;}, {"1080":1080,"1121":1121,"1122":1122,"1123":1123,"1124":1124}];window.modules["1008"] = [function(require,module,exports){function baseUnary(n){return function(r){return n(r)}}module.exports=baseUnary;}, {}];window.modules["1009"] = [function(require,module,exports){function cacheHas(a,c){return a.has(c)}module.exports=cacheHas;}, {}];window.modules["1010"] = [function(require,module,exports){var baseForOwn=require(1011),createBaseEach=require(1012),baseEach=createBaseEach(baseForOwn);module.exports=baseEach;}, {"1011":1011,"1012":1012}];window.modules["1011"] = [function(require,module,exports){var baseFor=require(1023),keys=require(186);function baseForOwn(e,r){return e&&baseFor(e,r,keys)}module.exports=baseForOwn;}, {"186":186,"1023":1023}];window.modules["1012"] = [function(require,module,exports){var isArrayLike=require(1071);function createBaseEach(r,e){return function(a,i){if(null==a)return a;if(!isArrayLike(a))return r(a,i);for(var t=a.length,n=e?t:-1,u=Object(a);(e?n--:++n0&&r(u)?e>1?baseFlatten(u,e-1,r,t,l):arrayPush(l,u):t||(l[l.length]=u)}return l}module.exports=baseFlatten;}, {"973":973,"1022":1022}];window.modules["1022"] = [function(require,module,exports){var Symbol=require(956),isArguments=require(967),isArray=require(187),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;function isFlattenable(e){return isArray(e)||isArguments(e)||!!(spreadableSymbol&&e&&e[spreadableSymbol])}module.exports=isFlattenable;}, {"187":187,"956":956,"967":967}];window.modules["1023"] = [function(require,module,exports){var createBaseFor=require(1024),baseFor=createBaseFor();module.exports=baseFor;}, {"1024":1024}];window.modules["1024"] = [function(require,module,exports){function createBaseFor(e){return function(r,t,a){for(var n=-1,o=Object(r),c=a(r),u=c.length;u--;){var f=c[e?u:++n];if(!1===t(o[f],f,o))break}return r}}module.exports=createBaseFor;}, {}];window.modules["1026"] = [function(require,module,exports){var castPath=require(1027),toKey=require(1028);function baseGet(e,t){for(var a=0,r=(t=castPath(t,e)).length;null!=e&&at}module.exports=baseGt;}, {}];window.modules["1035"] = [function(require,module,exports){function baseHasIn(n,e){return null!=n&&e in Object(n)}module.exports=baseHasIn;}, {}];window.modules["1036"] = [function(require,module,exports){function baseIsNaN(e){return e!=e}module.exports=baseIsNaN;}, {}];window.modules["1037"] = [function(require,module,exports){function strictIndexOf(r,t,e){for(var n=e-1,f=r.length;++n=120&&y.length>=120)?new SetCache(i&&y):void 0}y=a[0];var l=-1,o=s[0];a:for(;++ln))return!1;var f=u.get(e),o=u.get(r);if(f&&o)return f==r&&o==e;var _=-1,s=!0,R=a&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(u.set(e,r),u.set(r,e);++_-1&&e%1==0&&e=o?p:p*("desc"==i[n]?-1:1)}return e.index-r.index}module.exports=compareMultiple;}, {"1125":1125}];window.modules["1088"] = [function(require,module,exports){var baseGet=require(1026),baseSet=require(1089),castPath=require(1027);function basePickBy(e,a,t){for(var r=-1,s=a.length,b={};++rn?0:n+r),(a=a>n?n:a)a?0:a-r>>>0,r>>>=0;for(var o=Array(n);++l=LARGE_ARRAY_SIZE){var h=r?null:createSet(e);if(h)return setToArray(h);c=!1,t=cacheHas,n=new SetCache}else n=r?[]:i;e:for(;++sr||l&&u&&s&&!m&&!c||n&&u&&s||!e&&s||!o)return 1;if(!n&&!l&&!c&&i1?r[i-1]:void 0,n=i>2?r[2]:void 0;for(s=e.length>3&&"function"==typeof s?(i--,s):void 0,n&&isIterateeCall(r[0],r[1],n)&&(s=i-1?a[n?r[s]:s]:void 0}}module.exports=createFind;}, {"186":186,"1059":1059,"1071":1071}];window.modules["1138"] = [function(require,module,exports){var flatten=require(127),overRest=require(1099),setToString=require(1100);function flatRest(e){return setToString(overRest(e,void 0,flatten),e+"")}module.exports=flatRest;}, {"127":127,"1099":1099,"1100":1100}];window.modules["1145"] = [function(require,module,exports){var toNumber=require(1147),INFINITY=1/0,MAX_INTEGER=1.7976931348623157e308;function toFinite(e){return e?(e=toNumber(e))===INFINITY||e===-INFINITY?(e0){if(++r>=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}module.exports=shortOut;}, {}];window.modules["1173"] = [function(require,module,exports){var rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos="['']",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboRange+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ="\\u200d",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");function unicodeWords(r){return r.match(reUnicodeWord)||[]}module.exports=unicodeWords;}, {}];window.modules["1177"] = [function(require,module,exports){var root=require(921),now=function(){return root.Date.now()};module.exports=now;}, {"921":921}];window.modules["1178"] = [function(require,module,exports){var baseRest=require(1098),eq=require(986),isIterateeCall=require(1130),keysIn=require(992),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,defaults=baseRest(function(e,r){e=Object(e);var t=-1,o=r.length,a=o>2?r[2]:void 0;for(a&&isIterateeCall(r[0],r[1],a)&&(o=1);++t=f)break;if(l=f)break;if(l",l=y+=2;break}c+=i(r[o]),l=y+=2;break;case 115:if(o>=f)break;lencodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`));}, {}];window.modules["1321"] = [function(require,module,exports){"use strict";module.exports=((e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]});}, {}];window.modules["1324"] = [function(require,module,exports){"use strict";var undef,has=Object.prototype.hasOwnProperty;function decode(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function encode(e){try{return encodeURIComponent(e)}catch(e){return null}}function querystring(e){for(var n,r=/([^=?#&]+)=?([^&]*)/g,t={};n=r.exec(e);){var o=decode(n[1]),u=decode(n[2]);null===o||null===u||o in t||(t[o]=u)}return t}function querystringify(e,n){n=n||"";var r,t,o=[];for(t in"string"!=typeof n&&(n="?"),e)if(has.call(e,t)){if((r=e[t])||null!==r&&r!==undef&&!isNaN(r)||(r=""),t=encode(t),r=encode(r),null===t||null===r)continue;o.push(t+"="+r)}return o.length?n+o.join("&"):""}exports.stringify=querystringify,exports.parse=querystring;}, {}];window.modules["1341"] = [function(require,module,exports){"use strict";var __awaiter=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(a,i){function o(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,c)}s((r=r.apply(t,e||[])).next())})},__generator=this&&this.__generator||function(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]":"akbar-men","'":"majmou","¤":"omla"},az:{},ca:{"'":"delta","'":"infinit","'¥":"amor","&":"i","|":"o","":"mes que","'":"suma dels","¤":"moneda"},cz:{"'":"delta","'":"nekonecno","'¥":"laska","&":"a","|":"nebo","":"vice jako","'":"soucet","¤":"mena"},de:{"'":"delta","'":"unendlich","'¥":"Liebe","&":"und","|":"oder","":"groesser als","'":"Summe von","¤":"Waehrung"},dv:{"'":"delta","'":"kolunulaa","'¥":"loabi","&":"aai","|":"noonee","":"ah vure bodu","'":"jumula","¤":"faisaa"},en:{"'":"delta","'":"infinity","'¥":"love","&":"and","|":"or","":"greater than","'":"sum","¤":"currency"},es:{"'":"delta","'":"infinito","'¥":"amor","&":"y","|":"u","":"mas que","'":"suma de los","¤":"moneda"},fr:{"'":"delta","'":"infiniment","'¥":"Amour","&":"et","|":"ou","":"superieure a","'":"somme des","¤":"monnaie"},gr:{},hu:{"'":"delta","'":"vegtelen","'¥":"szerelem","&":"es","|":"vagy","":"nagyobb mint","'":"szumma","¤":"penznem"},it:{"'":"delta","'":"infinito","'¥":"amore","&":"e","|":"o","":"maggiore di","'":"somma","¤":"moneta"},lt:{},lv:{"'":"delta","'":"bezgaliba","'¥":"milestiba","&":"un","|":"vai","":"lielaks neka","'":"summa","¤":"valuta"},my:{"'":"kwahkhyaet","'":"asaonasme","'¥":"akhyait","&":"nhin","|":"tho","":"kyithaw","'":"paungld","¤":"ngwekye"},mk:{},nl:{"'":"delta","'":"oneindig","'¥":"liefde","&":"en","|":"of","":"groter dan","'":"som","¤":"valuta"},pl:{"'":"delta","'":"nieskonczonosc","'¥":"milosc","&":"i","|":"lub","":"wieksze niz","'":"suma","¤":"waluta"},pt:{"'":"delta","'":"infinito","'¥":"amor","&":"e","|":"ou","":"maior que","'":"soma","¤":"moeda"},ro:{"'":"delta","'":"infinit","'¥":"dragoste","&":"si","|":"sau","":"mai mare ca","'":"suma","¤":"valuta"},ru:{"'":"delta","'":"beskonechno","'¥":"lubov","&":"i","|":"ili","":"bolshe","'":"summa","¤":"valjuta"},sk:{"'":"delta","'":"nekonecno","'¥":"laska","&":"a","|":"alebo","":"viac ako","'":"sucet","¤":"mena"},sr:{},tr:{"'":"delta","'":"sonsuzluk","'¥":"ask","&":"ve","|":"veya","":"buyuktur","'":"toplam","¤":"para birimi"},uk:{"'":"delta","'":"bezkinechnist","'¥":"lubov","&":"i","|":"abo","":"bilshe","'":"suma","¤":"valjuta"},vn:{"'":"delta","'":"vo cuc","'¥":"yeu","&":"va","|":"hoac","":"lon hon","'":"tong","¤":"tien te"}};if("string"!=typeof e)return"";if("string"==typeof a&&(A=a),m=I.en,c=C.en,"object"==typeof a)for(g in n=a.maintainCase||!1,O=a.custom&&"object"==typeof a.custom?a.custom:O,u=+a.truncate>1&&a.truncate||!1,l=a.uric||!1,s=a.uricNoSlash||!1,r=a.mark||!1,S=!1!==a.symbols&&!1!==a.lang,A=a.separator||A,l&&(p+=b.join("")),s&&(p+=z.join("")),r&&(p+=[".","!","~","*","'","(",")"].join("")),m=a.lang&&I[a.lang]&&S?I[a.lang]:S?I.en:{},c=a.lang&&C[a.lang]?C[a.lang]:!1===a.lang||!0===a.lang?{}:C.en,a.titleCase&&"number"==typeof a.titleCase.length&&Array.prototype.toString.call(a.titleCase)?(a.titleCase.forEach(function(e){O[e+""]=e+""}),t=!0):t=!!a.titleCase,a.custom&&"number"==typeof a.custom.length&&Array.prototype.toString.call(a.custom)&&a.custom.forEach(function(e){O[e+""]=e+""}),Object.keys(O).forEach(function(a){var n;n=a.length>1?new RegExp("\\b"+o(a)+"\\b","gi"):new RegExp(o(a),"gi"),e=e.replace(n,O[a])}),O)p+=g;for(p=o(p+=A),f=!1,y=!1,d=0,k=(e=e.replace(/(^\s+|\s+$)/g,"")).length;d=0?(j+=g,g=""):!0===y?(g=U[j]+v[g],j=""):g=f&&v[g].match(/[A-Za-z0-9]/)?" "+v[g]:v[g],f=!1,y=!1):g in U?(j+=g,g="",d===k-1&&(g=U[j]),y=!0):!m[g]||l&&-1!==b.join("").indexOf(g)||s&&-1!==z.join("").indexOf(g)?(!0===y?(g=U[j]+g,j="",y=!1):f&&(/[A-Za-z0-9]/.test(g)||E.substr(-1).match(/A-Za-z0-9]/))&&(g=" "+g),f=!1):(g=f||E.substr(-1).match(/[A-Za-z0-9]/)?A+m[g]:m[g],g+=void 0!==e[d+1]&&e[d+1].match(/[A-Za-z0-9]/)?A:"",f=!0),E+=g.replace(new RegExp("[^\\w\\s"+p+"_-]","g"),A);return t&&(E=E.replace(/(\w)(\S*)/g,function(e,a,n){var t=a.toUpperCase()+(null!==n?n:"");return Object.keys(O).indexOf(t.toLowerCase())u&&(h=E.charAt(u)===A,E=E.slice(0,u),h||(E=E.slice(0,E.lastIndexOf(A)))),n||t||(E=E.toLowerCase()),E},t=function(e){return function(a){return n(a,e)}},o=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},i=function(e,a){for(var n in a)if(a[n]===e)return!0};if("undefined"!=typeof module&&module.exports)module.exports=n,module.exports.createSlug=t;else if("undefined"!=typeof define&&define.amd)define([],function(){return n});else try{if(e.getSlug||e.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";e.getSlug=n,e.createSlug=t}catch(e){}}(this);}, {}];window.modules["1404"] = [function(require,module,exports){var namespace="expire_mixin";function expirePlugin(){var e=this.createStore(this.storage,null,this._namespacePrefix+namespace);return{set:function(t,n,a,r){this.hasNamespace(namespace)||e.set(n,r);return t()},get:function(e,n){this.hasNamespace(namespace)||t.call(this,n);return e()},remove:function(t,n){this.hasNamespace(namespace)||e.remove(n);return t()},getExpiration:function(t,n){return e.get(n)},removeExpiredKeys:function(e){var n=[];this.each(function(e,t){n.push(t)});for(var a=0;a=0;r--){var l=localStorage().key(r);e(read(l),l)}}function remove(e){return localStorage().removeItem(e)}function clearAll(){return localStorage().clear()}module.exports={name:"localStorage",read:read,write:write,each:each,remove:remove,clearAll:clearAll};}, {"1406":1406}];window.modules["1408"] = [function(require,module,exports){module.exports={name:"memoryStorage",read:read,write:write,each:each,remove:remove,clearAll:clearAll};var memoryStorage={};function read(e){return memoryStorage[e]}function write(e,r){memoryStorage[e]=r}function each(e){for(var r in memoryStorage)memoryStorage.hasOwnProperty(r)&&e(memoryStorage[r],r)}function remove(e){delete memoryStorage[e]}function clearAll(e){memoryStorage={}}}, {}];window.modules["1435"] = [function(require,module,exports){!function(e){var t=function(e){return new y(e)};t.version="0.6.8","undefined"!=typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.amd?define(function(){return t}):e.typogr=t;var n=function(e,t){return new RegExp(e,t)},s=/]*>/i,r=t.amp=function(e){var t=/(\s| )(&|&|&\#38;)(\s| )/g;if(e||"string"==typeof e)return e.replace(/()?([^)?/g,function(e,n,r,a){return a=a||"",(n=n||"").match(s)?n+r+a:n+(r=r.replace(t,'$1 & $3'))+a})},a=t.ord=function(e){if(e||"string"==typeof e){var t,n=f(e),r=[],a=!1,p=/(\d+)(st|nd|rd|th)/g;return n.forEach(function(e){"tag"===e.type?(r.push(e.txt),t=s.exec(e.txt),a=!(!t||void 0!==t[1])):a?r.push(e.txt):r.push(e.txt.replace(p,'$1 $2 '))}),r.join("")}},p=t.initQuotes=function(e){var t=n("(?:(?:]*>|^)\\s*(?:]*>\\s*)*)(?:(\"|''|'')|('|'|'))","i");if(e||"string"==typeof e)return e.replace(t,function(e,t,n){var s=t?"dquo":"quo",r=t||n;return[e.slice(0,e.lastIndexOf(r)),' ',r," "].join("")})},c=t.widont=function(e){var t="(?:]*?>)*?[^\\s]+(?:(?:a|em|span|strong|i|b)[^>]*?>)*?",s=n("(\\s+"+t+"\\s+"+t+")(?:\\s+)([^\\s]+(?:\\s*(?:a|em|span|strong|i|b)[^>]*?>\\s*\\.*)*?(?:\\s*?(?:p|h[1-6]|li|dt|dd)>|$))","gi");return e.replace(s,'$1 $2')},i=t.caps=function(e){var t,r=f(e),a=[],p=!1,c=n("((\\b[A-Z\\d]*[A-Z]\\d*[A-Z][A-Z\\d']*\\b)|(\\b[A-Z]+\\.\\s?(?:[A-Z]+\\.\\s?)+)(?:\\s|\\b|$))","g");return r.forEach(function(e){"tag"===e.type?(a.push(e.txt),t=s.exec(e.txt),p=!(!t||void 0!==t[1])):p?a.push(e.txt):a.push(e.txt.replace(c,function(e,t,n,s){var r,a;return n?' %s '.replace("%s",n):(" "===s.slice(-1)?(r=s.slice(0,-1),a=" "):(r=s,a=""),' %s1 %s2'.replace("%s1",r).replace("%s2",a))}))}),a.join("")};t.typogrify=function(e){var t=e;return e.jquery&&e.html&&(t=e.html()),t=r(t),t=c(t),t=u(t),t=i(t),t=p(t),t=a(t)};var l,o,u=t.smartypants=function(e){var t,n,r=f(e),a=[],p=[],c="",i="",l=!1,o="";return r.forEach(function(e){if("tag"===e.type)a.push(e.txt),null!==(i=s.exec(e.txt))&&(c=i[2].toLowerCase(),i[1]?(p.length>0&&c===p[p.length-1]&&p.pop(),0===p.length&&(l=!1)):(p.push(c),l=!0));else{if(n=(n=e.txt).replace(/(rock )'n'( roll)/gi,"$1'n'$2"),t=n.slice(-1),!l)switch(n=g(n),n=h(n),n=d(n),n=x(n)){case"'":n=/\S/.test(o)?"'":"'";break;case'"':n=/\S/.test(o)?"''":"''";break;default:n=m(n)}o=t,a.push(n)}}),a.join("")},f=t.tokenize=function(e){for(var t,n=[],s=0,r=/([^]*>)/gi;null!==(t=r.exec(e));){var a=t[1],p=t[2];a&&n.push({type:"text",txt:a}),n.push({type:"tag",txt:p}),s=r.lastIndex}return r.lastIndex)/g,"$1''")},d=t.smartEllipses=function(e){return e.replace(/\.\.\./g,"'...").replace(/\. \. \./g,"'...")},x=t.smartBackticks=function(e){return e.replace(/``/g,"''").replace(/''/g,"''")},m=t.smartQuotes=function(e){var t="(?=%s\\B)".replace("%s","[!\"#\\$\\%\\'()*+,-.\\/:;?\\@\\[\\\\]\\^_`{|}~]"),s="[^\\ \\t\\r\\n\\[\\{\\(\\-]",r=n("(\\s| |--|&[mn]dash;|''|'--|È[34];)'(?=\\w)","g"),a=n("("+s+")'(?!\\s | s\\b | \\d)","g"),p=n("("+s+")'(?!\\s | s\\b)","g"),c=n('(\\s| |--|&[mn]dash;|''|'--|È[34];)"(?=\\w)',"g"),i=n('"(?=\\s)',"g"),l=n("("+s+')"',"g");return e.replace(n("^'%s".replace("%s",t),"g"),"'").replace(n('^"%s'.replace("%s",t),"g"),"''").replace(/"'(?=\w)/g,"'''").replace(/'"(?=\w)/g,"'''").replace(/\b'(?=\d{2}s)/g,"'").replace(r,"$1'").replace(a,"$1'").replace(p,"$1'$2").replace("'","'").replace(c,"$1''").replace(i,"''").replace(l,"$1''").replace('"',"''")},y=function(e){this._wrapped=e},v=function(e,n){y.prototype[e]=function(){return e=n.call(t,this._wrapped),this._chain?t(e).chain():e;var e}};for(l in t)t.hasOwnProperty(l)&&((o=t[l])&&o.constructor&&o.call&&o.apply)&&v(l,t[l]);y.prototype.chain=function(){return this._chain=!0,this},y.prototype.value=function(){return this._wrapped}}(this);}, {}];window.modules["1532"] = [function(require,module,exports){"use strict";const _map=require(88),_get=require(17),_isArray=require(187),_set=require(145),_isObject=require(126),_cloneDeep=require(98),_uniq=require(129);function formatSearchResult(e){return _map(e.hits.hits,"_source")}function newQuery(e){if(!e)throw new Error("An `index` is required to construct a query");return{index:e,type:"_doc",body:{query:{}}}}function addShould(e,o){var t=_get(e,"body.query.bool.should",void 0),r=_isArray(o);return t?r?_set(e,"body.query.bool.should",t.concat(o)):(t.push(o),_set(e,"body.query.bool.should",t)):_set(e,"body.query.bool.should",r?o:[o]),e}function addMust(e,o){var t=_get(e,"body.query.bool.must",void 0),r=_isArray(o);return t?r?_set(e,"body.query.bool.must",t.concat(o)):(t.push(o),_set(e,"body.query.bool.must",t)):_set(e,"body.query.bool.must",r?o:[o]),e}function addMustNot(e,o){var t=_get(e,"body.query.bool.must_not",void 0),r=_isArray(o);return t?r?_set(e,"body.query.bool.must_not",t.concat(o)):(t.push(o),_set(e,"body.query.bool.must_not",t)):_set(e,"body.query.bool.must_not",r?o:[o]),e}function addFilter(e,o){var t=_get(e,"body.query.bool.filter",void 0);if(!_isObject(o))throw new Error("Filter query required to be an object");return t?_isArray(t)?(t.push(o),_set(e,"body.query.bool.filter",t)):_set(e,"body.query.bool.filter",[_cloneDeep(t),o]):_set(e,"body.query.bool.filter",o),e}function addMinimumShould(e,o){if("number"!=typeof o)throw new Error("A number is required as the second argument");return _set(e,"body.query.bool.minimum_should_match",o),e}function addSort(e,o){var t=_get(e,"body.sort");return _isArray(t)||_set(e,"body.sort",t=[]),t.push(o),e}function addSize(e,o){if(!o&&0!==o)return e;if(o=parseInt(o),isNaN(o))throw new Error(`Second argument must be a number: ${o}`);return _set(e,"body.size",o)}function addFrom(e,o){if(!o&&0!==o)return e;if(o=parseInt(o),isNaN(o))throw new Error(`Second argument must be a number: ${o}`);return _set(e,"body.from",o)}function onlyWithTheseFields(e,o){if(!_isArray(o))throw new Error("Second argument is required to be an Array");return _set(e,"body._source.include",_uniq(o)),e}function onlyWithinThisSite(e,o){return o.subsiteSlug?addFilter(e,{term:{subsite:o.subsiteSlug}}):(addFilter(e,{term:{site:o.slug}}),addMustNot(e,{exists:{field:"subsite"}})),e}function onlyWithinThisDomain(e,o){return addFilter(e,{prefix:{canonicalUrl:`http://${o.host}`}}),e}function withinThisSiteAndCrossposts(e,o){var t={term:{}},r={bool:{should:[],minimum_should_match:1}};return t.term["crosspost."+(o.subsiteSlug||o.slug)]=!0,r.bool.should.push(t),o.subsiteSlug?r.bool.should.push({term:{subsite:o.subsiteSlug}}):(r.bool.should.push({term:{site:o.slug}}),addMustNot(e,{exists:{field:"subsite"}})),addFilter(e,r),e}function withinThisDomainOrCrossposts(e,o){return addShould(e,{term:{[`crosspost.${o.subsiteSlug||o.slug}`]:!0}}),addShould(e,{prefix:{canonicalUrl:`http://${o.host}`}}),addMinimumShould(e,1),e}function moreLikeThis(e,o,t){let r={fields:["tags"],like:{_index:e.index,_type:"_doc",_id:o},include:!1,min_term_freq:1,max_query_terms:12,min_doc_freq:1};return{more_like_this:Object.assign(r,t)}}function addAggregation(e={},o){const{body:t={}}=e;return o?(t.aggs?_set(e,"body.aggs",Object.assign(t.aggs,o)):_set(e,"body.aggs",o),e):e}function formatAggregationResults({aggregationName:e="",field:o="",subfield:t="",skipEmpty:r=!0}){return function(s={}){let u=_get(s,`aggregations.${e}${t?"."+t+".":"."}buckets`,[]);return r&&(u=u.filter(e=>0!==_get(e,"doc_count",0))),u.map(e=>e[o]||"")}}function addGeo(e,o){if(!_isArray(o))throw new Error("Second argument is required to be an Array");if(2!==o.length)throw new Error("Array must be length 2");if(o.some(isNaN))throw new Error("Array must only contain numbers");return _set(e,"body.query.geo_shape.location.shape.type","point"),_set(e,"body.query.geo_shape.location.shape.coordinates",o),e}function combineFunctionScoreQueries(e,o){let t=_cloneDeep(_get(e,"body.query",{})),r=_cloneDeep(_get(o,"body.query",{})),s=_get(e,"body.sort");return _set(e,"body.query",{}),_set(e,"body.query.function_score.functions",[]),e.body.query.function_score.functions.push({filter:t,weight:20}),e.body.query.function_score.functions.push({filter:r,weight:10}),e.body.query.function_score.score_mode="max",e.body.query.function_score.min_score=10,_isArray(s)||_set(e,"body.sort",s=[]),s.unshift({_score:"desc"}),e}function addNestedObjQuery(e,o,t){if(!e)throw new Error("There is no base query to perform the addNestedObjQuery operation");if(!o)throw new Error("There is no nested object path to perform the nested query against");if(!t)throw new Error("There is no nested query path to perform the nested query against");return _set(e,"nested",{path:o,query:t}),e}function addMatchAll(e){return _set(e,"body.query",{match_all:{}}),e}function addMultiMatch(e,o){const t=_get(e,"body.query.bool.must",void 0),{fields:r,type:s,string:u}=o,i={multi_match:{query:u,fields:r,type:s}};return t?(t.push(i),_set(e,"body.query.bool.must",t)):_set(e,"body.query.bool.must",[i]),e}module.exports=newQuery,module.exports.addGeo=addGeo,module.exports.addAggregation=addAggregation,module.exports.addShould=addShould,module.exports.addFilter=addFilter,module.exports.addMust=addMust,module.exports.addMustNot=addMustNot,module.exports.addMinimumShould=addMinimumShould,module.exports.addSort=addSort,module.exports.addSize=addSize,module.exports.addFrom=addFrom,module.exports.onlyWithTheseFields=onlyWithTheseFields,module.exports.onlyWithinThisSite=onlyWithinThisSite,module.exports.onlyWithinThisDomain=onlyWithinThisDomain,module.exports.withinThisSiteAndCrossposts=withinThisSiteAndCrossposts,module.exports.withinThisDomainOrCrossposts=withinThisDomainOrCrossposts,module.exports.formatAggregationResults=formatAggregationResults,module.exports.formatSearchResult=formatSearchResult,module.exports.moreLikeThis=moreLikeThis,module.exports.combineFunctionScoreQueries=combineFunctionScoreQueries,module.exports.addNestedObjQuery=addNestedObjQuery,module.exports.addMatchAll=addMatchAll,module.exports.addMultiMatch=addMultiMatch;}, {"17":17,"88":88,"98":98,"126":126,"129":129,"145":145,"187":187}];window.modules["1533"] = [function(require,module,exports){(function (process,__filename){(function (){"use strict";const _forEach=require(78),_get=require(17),_filter=require(171),_map=require(88),_isEmpty=require(125),urlParse=require(89),log=require(14).setup({file:__filename}),queryService=require(1532),universalRest=require(24),agoraLib=require(379),AGORA_HOST=window.process.env.AGORA_HOST,AGORA_ELASTIC_PREFIX=window.process.env.AGORA_ELASTIC_PREFIX,AGORA_ENDPOINT=AGORA_HOST?`${AGORA_HOST}/api/v1`:null,requestHeader={"Content-Type":"application/json"},PRODUCTS_INDEX="agora-products",AFFILIATES_INDEX="affiliates",RETAILERS_INDEX="retailers",FILTER_KEY={merchants:"name",affiliates:"affiliate"},URL_RE=/^https?:\/\/.*$/;function getProducts(e,t){const{limit:r=100,start:a=0,search:i="",sortDate:s="desc"}=e,n=`${AGORA_ENDPOINT}/products?limit=${r}&start=${a}&search=${encodeURIComponent(i)}&sortDate=${s}`;return fetch(n).then(handleResponse).then(e=>t?filterByLocale(e,t):e).then(e=>({total:e.length,products:e})).catch(handleError(n))}function getProduct(e,t){const r=`${AGORA_ENDPOINT}/products/${e}`;if(!AGORA_ENDPOINT)throw new Error("No Agora endpoint has been set");if("string"!=typeof e)throw new Error("request must provide a product id");return fetch(r).then(handleResponse).then(e=>t?filterByLocale(e,t):e).catch(handleError(r))}function postProduct(e){const t=`${AGORA_ENDPOINT}/products`,r={method:"POST",headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function putProduct(e,t){const r=`${AGORA_ENDPOINT}/products/${e}`,a={method:"PUT",headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function patchProduct(e,t){const r=`${AGORA_ENDPOINT}/products/${e}`,a={method:"PATCH",headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function deleteProduct(e){const t=`${AGORA_ENDPOINT}/products/${e}`;return fetch(t,{method:"DELETE",headers:requestHeader}).then(handleResponse).catch(handleError(t))}function getMerchantList(e){const{limit:t=100,fields:r=""}=e;return Promise.resolve([{name:"Amazon"}]).catch(handleError(""))}function getMerchant(e){const t=`${AGORA_ENDPOINT}/merchants/${e}`;if("string"!=typeof e)throw new Error("request must provide a merchant id");return fetch(t).then(handleResponse).catch(handleError(t))}function patchMerchant(e,t){const r=`${AGORA_ENDPOINT}/merchants/${e}`,a={method:"PATCH",headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function postMerchant(e){const t=`${AGORA_ENDPOINT}/merchants`,r={method:"POST",headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function putMerchant(e,t){const r=`${AGORA_ENDPOINT}/merchants/${e}`,a={method:"PUT",headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function deleteMerchant(e){const t=`${AGORA_ENDPOINT}/merchants/${e}`;return fetch(t,{method:"DELETE",headers:requestHeader}).then(handleResponse).catch(handleError(t))}function migrateMerchants(e){const t=`${AGORA_ENDPOINT}/merchants/migrate-affiliate`,r={method:"POST",headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function getRetailers(e){const{limit:t=100,start:r=0}=e,a=`${AGORA_ENDPOINT}/retailers?limit=${t}&start=${r}`;return fetch(a).then(handleResponse).then(e=>({total:e.length,retailers:e})).catch(handleError(a))}function getRetailer(e){const t=`${AGORA_ENDPOINT}/retailers/${e}`;return fetch(t).then(handleResponse).catch(handleError(t))}function postRetailer(e){const t=`${AGORA_ENDPOINT}/retailers`,r={method:"POST",headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function putRetailer(e,t){const r=`${AGORA_ENDPOINT}/retailers/${e}`,a={method:"PUT",headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function deleteRetailer(e){const t=`${AGORA_ENDPOINT}/retailers/${e}`;return fetch(t,{method:"DELETE",headers:requestHeader}).then(handleResponse).catch(handleError(t))}function getAffiliates(e){const{limit:t=100,start:r=0}=e,a=`${AGORA_ENDPOINT}/affiliates?limit=${t}&start=${r}`;return fetch(a).then(handleResponse).then(e=>({total:e.length,affiliates:e})).catch(handleError(a))}function getAffiliateRetailers(e){const t=`${AGORA_ENDPOINT}/retailers/${e}/affiliates`;return fetch(t).then(handleResponse).catch(handleError(t))}function getAffiliateRetailer(e,t){const r=`${AGORA_ENDPOINT}/retailers/${e}/affiliates/${t}`;return fetch(r).then(handleResponse).catch(handleError(r))}function postAffiliateRetailer(e,t,r=!1){const a=`${AGORA_ENDPOINT}/retailers/${e}/affiliates${r?"?updateElasticWithinRequestCycle=true":""}`,i={method:"POST",headers:requestHeader,body:JSON.stringify(t)};return fetch(a,i).then(handleResponse).catch(handleError(a))}function putAffiliateRetailer(e,t,r){const a=`${AGORA_ENDPOINT}/retailers/${e}/affiliates/${t}`,i={method:"PUT",headers:requestHeader,body:JSON.stringify(r)};return fetch(a,i).then(handleResponse).catch(handleError(a))}function deleteAffiliateRetailer(e,t){const r=`${AGORA_ENDPOINT}/retailers/${e}/affiliates/${t}`;return fetch(r,{method:"DELETE",headers:requestHeader}).catch(handleError(r))}function postLocale(e){const t=`${AGORA_ENDPOINT}/locales/`,r={method:"POST",headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function patchLocale(e,t){const r=`${AGORA_ENDPOINT}/locales/${e}`,a={method:"PATCH",headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function handleResponse(e){try{return e.json().then(t=>{if(e.status>=400){const e=_get(t,"message.details[0].message");throw new Error(e)}return t})}catch(e){throw new Error(e.message)}}function handleError(e){return t=>{throw log("warn",`Failed request to ${e}`,t),new Error(`request to ${e} failed`)}}function buildProductsQuery({search:e="",limit:t=100,start:r=0,sortDate:a="",filters:i,locale:s}){const n=queryService(PRODUCTS_INDEX),c=i&&Object.keys(i).length?Object.keys(i).filter(e=>Array.isArray(i[e])&&i[e].length):[],o={},l={};if(prependElasticPrefix(n),e||c.length||s||queryService.addMatchAll(n),s&&(queryService.addMust(o,{match:{"locales.locale":s}}),queryService.addMust(l,{match:{"merchants.locale":s}})),e)if(isURL(e))queryService.addMust(n,[queryService.addNestedObjQuery({},"merchants",{match:{"merchants.buyUrl":e}})]);else{const t={};queryService.addShould(t,[{match:{"locales.productId":e}},{match:{"locales.name":{query:e,boost:2}}}]),queryService.addMinimumShould(t,1),queryService.addMust(o,_get(t,"body.query"))}if(c.length){const e={};c.forEach(t=>{const r=i[t],a=FILTER_KEY[t],s={};a&&(s[`merchants.${a}`]=r,queryService.addMust(e,{terms:s}))}),queryService.addMust(l,_get(e,"body.query"))}return _isEmpty(o)||queryService.addMust(n,[queryService.addNestedObjQuery({},"locales",_get(o,"body.query"))]),_isEmpty(l)||queryService.addMust(n,[queryService.addNestedObjQuery({},"merchants",_get(l,"body.query"))]),queryService.addSize(n,t),r>=0&&queryService.addFrom(n,r),"desc"===a||"asc"===a?queryService.addSort(n,{updatedAt:{order:a}}):e&&queryService.addSort(n,{_score:{order:"desc"}}),n}function findVariationsQuery({filters:e}){const t=queryService(PRODUCTS_INDEX);return prependElasticPrefix(t),queryService.addMust(t,{match:{referenceId:e.referenceId}}),t}function prependElasticPrefix(e){return e.index=AGORA_ELASTIC_PREFIX?`${AGORA_ELASTIC_PREFIX}_${e.index}`:e.index,e}function buildMerchantsAggregation(e=1e6,t){const r=queryService(PRODUCTS_INDEX);return prependElasticPrefix(r),queryService.addMust(r,{match:{active:!0}}),t&&queryService.addMust(r,queryService.addNestedObjQuery({},"merchants",_get(queryService.addMust({},{match:{"merchants.locale":t}}),"body.query"))),queryService.addAggregation(r,{merchants:{nested:{path:"merchants"},aggs:{name:{terms:{field:"merchants.name",size:e}}}}}),queryService.addSize(r,0),r}function isURL(e){return URL_RE.test(e)}function filterByLocale(e,t,r={locales:"US"}){const a=Array.isArray(e);if(_isEmpty(e))return a?[]:{};const i=["locales","merchants"],s=a?e:[e],n=Object.keys(r),c=_map(s,e=>{const a=Object.assign({},e);return _forEach(i,i=>{if(Object.keys(a).includes(i)){const s=t?_filter(e[i],["locale",t]):e[i];a[i]=s,!s.length&&n.includes(i)&&(a[i]=(_filter(e[i],["locale",r[i]])||[]).map(e=>(e.id=null,e.locale=t,e)))}}),a.name=_get(a,"locales[0].name",""),a});return a&&c.length?c:_get(c,"[0]",{})}function searchByQueryWithRawResults(e,t){const r=`//${t.site.host}${80!==t.site.port?`:${t.site.port}`:""}${t.site.path}/_agora/_search`;return universalRest.post(r,e,!0)}function buildMerchantsByUrlQuery(e){const t=queryService(PRODUCTS_INDEX);return prependElasticPrefix(t),queryService.addNestedObjQuery(t.body.query,"merchants",{match:{"merchants.buyUrl":e}}),t}function getAffiliatesByLocale(e,t){const r=queryService(AFFILIATES_INDEX);return prependElasticPrefix(r),queryService.addMust(r,{match:{locale:e}}),queryService.addSize(r,1e3),queryService.addSort(r,{name:"asc"}),searchByQueryWithRawResults(r,t).then(e=>_get(e,"hits.hits",[]).map(e=>_get(e,"_source",{})))}function buildRetailersQuery({search:e="",limit:t=50,start:r=0,direction:a="asc",locale:i="US",sortColumn:s="retailers"}){const n=queryService(RETAILERS_INDEX);if(prependElasticPrefix(n),queryService.addMust(n,{match:{locale:i}}),e&&queryService.addMultiMatch(n,{fields:["name","domains^2"],string:e,type:"phrase_prefix"}),"retailers"===s&&queryService.addSort(n,{"name.keyword":a}),"affiliates"===s){let e={};queryService.addNestedObjQuery(e,"affiliateRetailers",{match_all:{}}),queryService.addMust(n,e),queryService.addSort(n,{"affiliateRetailers.affiliateName.keyword":{order:a,nested_path:"affiliateRetailers"}})}return queryService.addSize(n,t),queryService.addFrom(n,r),n}function getRetailersList(e,t){return searchByQueryWithRawResults(buildRetailersQuery(e),t).then(e=>({total:_get(e,"hits.total",0),retailers:_get(e,"hits.hits",[]).map(e=>_get(e,"_source",{}))}))}function getRetailersByAffiliateId(e,t,r){const a=queryService(RETAILERS_INDEX);return e?(prependElasticPrefix(a),queryService.addMust(a,{match:{locale:r}}),queryService.addMust(a,[queryService.addNestedObjQuery({},"affiliateRetailers",{match:{"affiliateRetailers.affiliateId":e}})]),queryService.addSize(a,1e4),queryService.addSort(a,{"name.keyword":"asc"}),searchByQueryWithRawResults(a,t).then(e=>_get(e,"hits.hits",[]).map(e=>_get(e,"_source",{})))):Promise.reject()}function getMerchantsList(e){return searchByQueryWithRawResults(buildMerchantsAggregation(1e6,_get(e,"site.agoraLocale")),e).then(queryService.formatAggregationResults({aggregationName:"merchants",field:"key",subfield:"name"}))}function queryRetailersByUrl(e,t,r){const a=urlParse(e).host.split("www.").join(""),i=queryService(RETAILERS_INDEX);return queryService.addMust(i,{match:{locale:r}}),queryService.addMust(i,{match:{domains:a}}),prependElasticPrefix(i),queryService.addSize(i,10),searchByQueryWithRawResults(i,t).then(e=>_get(e,"hits.hits",[]).map(e=>_get(e,"_source",{})))}function queryRetailersByName(e,t,r){const a=queryService(RETAILERS_INDEX);return queryService.addMust(a,{match:{locale:r}}),queryService.addMust(a,{match:{"name.keyword":e}}),prependElasticPrefix(a),queryService.addSize(a,10),searchByQueryWithRawResults(a,t).then(e=>_get(e,"hits.hits",[]).map(e=>_get(e,"_source",{})))}require(246),module.exports={buildProductsQuery:buildProductsQuery,buildMerchantsAggregation:buildMerchantsAggregation,getProducts:getProducts,getProduct:getProduct,postProduct:postProduct,putProduct:putProduct,patchProduct:patchProduct,deleteProduct:deleteProduct,getMerchantList:getMerchantList,getMerchant:getMerchant,postMerchant:postMerchant,patchMerchant:patchMerchant,putMerchant:putMerchant,deleteMerchant:deleteMerchant,migrateMerchants:migrateMerchants,getRetailers:getRetailers,getRetailersList:getRetailersList,getRetailer:getRetailer,postRetailer:postRetailer,putRetailer:putRetailer,deleteRetailer:deleteRetailer,getRetailersByAffiliateId:getRetailersByAffiliateId,getAffiliates:getAffiliates,getAffiliateRetailers:getAffiliateRetailers,getAffiliateRetailer:getAffiliateRetailer,postAffiliateRetailer:postAffiliateRetailer,putAffiliateRetailer:putAffiliateRetailer,deleteAffiliateRetailer:deleteAffiliateRetailer,isURL:isURL,filterByLocale:filterByLocale,patchLocale:patchLocale,postLocale:postLocale,buildMerchantsByUrlQuery:buildMerchantsByUrlQuery,getAffiliatesByLocale:getAffiliatesByLocale,searchByQueryWithRawResults:searchByQueryWithRawResults,getMerchantsList:getMerchantsList,queryRetailersByUrl:queryRetailersByUrl,queryRetailersByName:queryRetailersByName,linkAutomation:agoraLib.linkAutomation,findVariationsQuery:findVariationsQuery};}).call(this)}).call(this,require(36),"/services/universal/agora.js")}, {"14":14,"17":17,"24":24,"36":36,"78":78,"88":88,"89":89,"125":125,"171":171,"246":246,"379":379,"1532":1532}];window.modules["1534"] = [function(require,module,exports){"use strict";const _map=require(88),_mapValues=require(241),_reduce=require(128),_assign=require(175),_get=require(17),_pickBy=require(176),{getAffiliateMetadata:getAffiliateMetadata,getAffiliateByUrl:getAffiliateByUrl}=require(84),affiliateFields=["siteShortKey","pageUri","productId","utmMedium","utmSource","sessionCount","format","utmCampaign","itmSearch","referrer","deviceAbbreviation","zone"],affiliateSettings={"Amazon Associates":{domains:_get(getAffiliateMetadata("Amazon Associates"),"domains",[]),subtagKey:"ascsubtag",maxLength:99,delimiter:"standard",encode:!1},Narrativ:{domains:_get(getAffiliateMetadata("Narrativ"),"domains",[]),subtagKey:"u1",maxLength:99,delimiter:"standard",encode:!0},Rakuten:{domains:_get(getAffiliateMetadata("Rakuten"),"domains",[]),subtagKey:"u1",maxLength:72,delimiter:"standard",encode:!1},Shareasale:{domains:_get(getAffiliateMetadata("Shareasale"),"domains",[]),subtagKey:"afftrack",maxLength:99,delimiter:"standard",encode:!1},Skimlinks:{domains:_get(getAffiliateMetadata("Skimlinks"),"domains",[]),subtagKey:"xcust",maxLength:100,delimiter:"alt",encode:!1},Impact:{domains:_get(getAffiliateMetadata("Impact"),"domains",[]),subtagKey:"subId2",maxLength:99,delimiter:"standard",encode:!1},Avantlink:{domains:_get(getAffiliateMetadata("Avantlink"),"domains",[]),subtagKey:"ctc",maxLength:64,delimiter:"alt",encode:!1},CJ:{domains:_get(getAffiliateMetadata("CJ"),"domains",[]),subtagKey:"sid",maxLength:64,delimiter:"alt",encode:!1,joinBy:"/",assignBy:"/",positioned:!0,position:"after",positionKey:"type/dlg/"},Partnerize:{domains:_get(getAffiliateMetadata("Partnerize"),"domains",[]),subtagKey:"pubref",maxLength:100,delimiter:"alt",encode:!1,joinBy:"/",assignBy:":",positioned:!0,position:"before",positionKey:"destination"},Pepperjam:{domains:_get(getAffiliateMetadata("Pepperjam"),"domains",[]),subtagKey:"sid",maxLength:100,delimiter:"alt",encode:!1},Awin:{domains:_get(getAffiliateMetadata("Awin"),"domains",[]),subtagKey:"pref1",maxLength:100,delimiter:"alt",encode:!1,positioned:!0,position:"before",positionKey:"ued"}},subtagDictionary={siteShortKey:"",pageUri:"p",productId:"i",zone:"z",deviceAbbreviation:"d",utmSource:"s",utmMedium:"m",utmCampaign:"c",sessionCount:"u",itmSearch:"q",referrer:"r",format:"t"},delimiters={standard:["[","]"],alt:["__","_"]};function parseValueFromSubtag(t,e,a){const i=e[0]+t+e[1],s=a.split(i)[1]||"";return s?s.split(e[0])[0]:null}function parseSubtag(t,e=delimiters.standard){return _pickBy(_mapValues(subtagDictionary,a=>parseValueFromSubtag(a,e,t)))}function generateSubtag(t,e,a=delimiters.standard,i=!1){const s=(t=>e=>`${t[0]}${e}${t[1]}`)(a);let n=_reduce(affiliateFields,(e,a)=>{const i=s(subtagDictionary[a]),n=t[a];return e+(n?i+n:"")},"");return i&&(n=encodeURIComponent(n)),n}function applySubtagMaxlength(t,e){var a=e-3*(t.split(",").length-1+t.split("|").length-1);return t.substr(0,a)}function getSubtagData({getters:t,fields:e=[],visitState:a,locals:i,productLink:s}){let n={};return e.forEach(e=>{n[e]=t[e]&&t[e]({visitState:a,locals:i,productLink:s})}),n}function parseQuery(t=""){return t.split("&").reduce((t,e)=>{const a=e.split("=")[0],i=e.split("=")[1];return void 0!==i&&(t[a]=i),t},{})}function processSubtagPosition({url:t,positionKey:e,subtagKey:a,position:i="after",subtagString:s,joinBy:n,assignBy:r}={}){const[o,g]=t.split(e),l=`${a}${r}${s}`,u=[];if("after"===i){if(!g)return t;const[i,s=""]=g.split(`${a}${r}`),d=s.split(n).slice(1).join(n);u.push(`${o}${e}`,l),i&&u.push(i),d&&u.push(d)}if("before"===i){const[t,i=""]=o.split(`${a}${r}`),s=i.split(n).slice(1).join(n);u.push(t),s&&u.push(s),u.push(l,`${e}${g}`)}return u.reduce((t,e)=>{return t.slice(-1)===n&&(t=t.slice(0,-1)),t.length?[t,e].join(n):e},"")}function processSubtag({getters:t,affiliate:e,url:a,visitState:i={},locals:s}){const n=affiliateFields,r=_get(affiliateSettings[e],"subtagKey"),o=_get(affiliateSettings[e],"maxLength"),g=_get(affiliateSettings[e],"encode"),l=_get(affiliateSettings[e],"delimiter"),u=_get(affiliateSettings[e],"positioned",!1),d=_get(affiliateSettings[e],"position"),f=_get(affiliateSettings[e],"positionKey"),c=_get(affiliateSettings[e],"assignBy","="),p=_get(affiliateSettings[e],"joinBy","&"),m=delimiters[l];let b,S,y=a.indexOf("?")>=0?a.split("?").pop():"",h=parseQuery(y),_=getSubtagData({getters:t,fields:n,visitState:i,locals:s,productLink:a});return r&&(S=h[r]||"",S=applySubtagMaxlength(b=generateSubtag(_=_assign(parseSubtag(S,m),_pickBy(_)),e,m,g),o),h[r]=S,y=_map(h,(t,e)=>`${e}=${t}`).join("&"),a=u?processSubtagPosition({url:a,positionKey:f,subtagKey:r,position:d,subtagString:S,joinBy:p,assignBy:c}):a.split("?")[0]+`?${y}`),a}function createSubtagProcessor(t){return({url:e,visitState:a,locals:i,affiliate:s})=>(s=getAffiliateByUrl(e)||s)?processSubtag({getters:t,url:e,affiliate:s,visitState:a,locals:i}):""}module.exports.generateSubtag=generateSubtag,module.exports.createSubtagProcessor=createSubtagProcessor,module.exports.processSubtag=processSubtag;}, {"17":17,"84":84,"88":88,"128":128,"175":175,"176":176,"241":241}];window.modules["article-nav.client"] = [function(require,module,exports){"use strict";const dom=require(4),_throttle=require(74),$visibility=require(5),$popup=require(91),$gtm=require(3),{reportSocial:reportSocial}=require(90),auth0=require(18);module.exports=(t=>{let e=dom.find(".page-header"),i=dom.find(".article-content"),r=dom.find(t,".deepscroll-headline"),o=dom.find(t,".deepscroll-rubric"),s=dom.find(t,".deepscroll-rubric-sponsored"),l=dom.find(".article .article-header .rubric"),n=dom.find("#deepscroll_center_divider"),a=dom.find(".clay-paragraph"),d=dom.find(t,".logo"),c=dom.find(t,".dyn-cut-logo"),p=dom.find(t,".article-nav-top"),u=dom.find(t,".article-nav-deepscroll"),m=dom.find('link[rel="canonical"]'),f=m&&m.getAttribute("href"),g=dom.find('meta[property="og:image"]')?dom.find('meta[property="og:image"]').getAttribute("content"):"",h=dom.find('meta[property="og:title"]')?dom.find('meta[property="og:title"]').getAttribute("content"):"",y=dom.find(t,".share-link.facebook"),w=dom.find(t,".share-link.twitter"),v=dom.find(t,".share-link.pinterest"),b=t.classList.contains("header-simple"),x=window.getComputedStyle(d,null).getPropertyValue("--targetFlexBasis"),L=window.getComputedStyle(d,null).getPropertyValue("--verticalStart")||0,C=window.getComputedStyle(d,null).getPropertyValue("--verticalEnd")||0,$=!1,_=55;function k(){_=parseInt(window.getComputedStyle(d,null).getPropertyValue("--stickyTop"))||_,C=$visibility.getViewportWidth()>=1180?window.getComputedStyle(d,null).getPropertyValue("--verticalEndDesktop")||C:window.getComputedStyle(d,null).getPropertyValue("--verticalEnd")||C}function S(){$=!1,P()}function P(){let{top:r}=t.getBoundingClientRect(),o=window.getComputedStyle(d,null).getPropertyValue("--baseFlexBasis"),s=o-x,l=(_-e.getBoundingClientRect().top)/_,n=Math.max(0,Math.min(1,l)),m=L-C-2,f=Math.round(L-(m*n+2)),g=Math.ceil(o-s*n);if(lt?e.classList.add("header-after-scroll"):e.classList.remove("header-after-scroll"),p.style.transform=`translateY(${C}px)`,u.style.transform=`translateY(${C}px)`,void(d.style.flexBasis=x+"px")}window.scrollY>r?t.classList.add("after-scroll"):t.classList.remove("after-scroll"),window.scrollY>r?e.classList.add("header-after-scroll"):e.classList.remove("header-after-scroll"),p.style.transform=`translateY(${f}px)`,u.style.transform=`translateY(${f}px)`,d.style.flexBasis=g+"px",c&&(c.style.flexBasis=g+"px"),$visibility.getViewportWidth()>=1180&&i&&function(){const t=a?$visibility.getPageOffset(a).top-70:0,e=$visibility.getPageOffset(i).top,r=Math.max(e,t);return Math.max(window.scrollY,document.body.scrollTop)>=r}()?t.classList.add("deep-scroll"):t.classList.remove("deep-scroll")}function V(t){var e=t.currentTarget,i=e.getAttribute("href"),r=e.getAttribute("data-handle"),o=$popup.getPopupClass(e.classList),s=$visibility.isBelowPrimaryContent(e)?"bottom":"top";$gtm.reportNow({event:"social-share-widget",clickLocation:s,socialNetwork:o}),reportSocial(o),$visibility.getViewportWidth()>=768&&o&&(t.preventDefault(),$popup.popWindow(o,r,i))}!function(){const e=_throttle(P,30);if(k(),dom.findAll(t,".share-link").forEach(t=>t.addEventListener("click",V)),y&&(y.href="http://www.facebook.com/sharer/sharer.php?u="+f+"?utm_source=fb&utm_medium=s3&utm_campaign=sharebutton-t"),w&&(w.href="https://twitter.com/share?text="+encodeURIComponent(h)+"&url="+f+"?utm_source=tw&utm_medium=s3&utm_campaign=sharebutton-t&via="+w.getAttribute("data-handle")),v&&(v.href="http://pinterest.com/pin/create/button/?url="+f+"?utm_source=pin&utm_medium=s3&utm_campaign=sharebutton-t&description="+encodeURIComponent(h)+"&media="+g),b)return;auth0.on("init",()=>{auth0.isSubscriber()&&t.classList.add("subscribed")}),window.addEventListener("scroll",e),window.addEventListener("resize",S),window.addEventListener("resize",k),l?l.classList.contains("rubric-sponsor-story")&&s?(o.classList.remove("visible"),s.classList.add("visible"),s.textContent=l.text||l.textContent):(o.textContent=l.text||l.textContent,o.href=l.href||"#"):(n.style.display="none",o.style.display="none");S(),r.textContent=h}()});}, {"3":3,"4":4,"5":5,"18":18,"74":74,"90":90,"91":91}];window.modules["nav-search-button.client"] = [function(require,module,exports){"use strict";const dom=require(4),$gtm=require(3),{reportSearch:reportSearch}=require(90),openClass="open",closeClass="closed";module.exports=(e=>{const s=e,t=dom.find(e,".nav-search-button-trigger"),n=dom.find(e,".nav-search-form"),o=dom.find(e,".search-input");function i(){const e=dom.find("body");s.classList.toggle(closeClass),s.classList.toggle(openClass),e.classList.toggle("disabled"),e.classList.toggle("search-active")}function c(){i(),s.classList.contains(openClass)&&o.focus()}function a(e){!s.contains(e.target)&&s.classList.contains(openClass)&&i()}function r(e){27===e.keyCode&&s.classList.contains(openClass)&&i()}function d(e){e.preventDefault(),$gtm.reportCustomEvent({category:"search",label:"on="+window.location.href,action:o.value}),reportSearch((o.value||"").split(" "),()=>n.submit())}!function(e,s,t){s&&s.addEventListener("click",c);t&&t.addEventListener("submit",d);e.addEventListener("click",a),document.addEventListener("keydown",r),e.addEventListener("touchend",a),n.addEventListener("submit",d)}(dom.find("body"),t,dom.find(e,".nav-search-form submit"))});}, {"3":3,"4":4,"90":90}];window.modules["nav-dropdown-button.client"] = [function(require,module,exports){"use strict";const dom=require(4),visibility=require(5),{reportSearch:reportSearch}=require(90);function getNextSiblings(e){const t=[];let i=e;for(;i=i.nextElementSibling;)t.push(i);return t}function getMainChildren(e,t){let i=[],n=e.firstChild;for(;n=n.nextElementSibling;)n.contains(t)?n.isSameNode(t)||(i=i.concat(getMainChildren(n,t))):i.push(n);return i}function isMobile(){return visibility.getViewportWidth(){let t;const i=e.querySelector(".nav-dropdown-button-trigger"),n=dom.find("body"),o=dom.find(".top"),l=dom.find(".confetti-list"),s=dom.find(".nav-dropdown-button_nymag-homepage"),r=dom.find("header.page-header")||o,c=dom.find('[data-editable="main"]'),a=dom.closest(e,".page-header"),d=a?a.querySelectorAll(".confetti-image.blue"):"",g=a?a.querySelectorAll(".confetti-image.green"):"",u=a?a.querySelectorAll(".confetti-image.orange"):"",f=a?a.querySelectorAll(".confetti-image.orange2"):"",m=a?a.querySelectorAll(".confetti-image.pink"):"",p=a?a.querySelectorAll(".confetti-image.purple"):"",h=a?a.querySelectorAll(".confetti-image.yellow"):"",y=e.querySelectorAll(".dropdown-nav-search-form");function b(e){let t=e.currentTarget,i=t.querySelector(".nav-search-input"),n=i?i.value.split(" "):[];e.preventDefault(),reportSearch(n,()=>t.submit())}i.addEventListener("click",()=>{initializeHeight(e),v()});for(let e=0,t=y.length;e(function(e){e.classList.remove("c-right","c-rightdown","c-left","c-leftdown")})(e))},500)}()):(i.setAttribute("aria-expanded","true"),t=window.scrollY),e.classList.toggle("closed"),e.classList.toggle("open"),n.classList.toggle("disabled"),a&&e.isSameNode(s)?function(){if(o.contains(e)){const e=getMainChildren(o,s);S(e),w(o)}if(c.contains(e)){const e=getMainChildren(c,s);o.classList.toggle("hidden-component"),w(c),S(e)}e.classList.toggle("open-mobile")}():a&&!y&&r&&(w(r),function(){const i=e.classList.contains("open")?0:t;window.scrollTo({top:i})}())}function w(e){S(getNextSiblings(e))}function S(e){e.forEach(e=>{e.classList.toggle("hidden-component")})}n.addEventListener("click",t=>{!e.contains(t.target)&&e.classList.contains("open")&&v()}),document.addEventListener("keydown",t=>{27===t.keyCode&&e.classList.contains("open")&&v()})});}, {"4":4,"5":5,"90":90}];window.modules["follow.client"] = [function(require,module,exports){"use strict";const _find=require(79),$popup=require(91);DS.controller("follow",[function(){function e(e){this.el=e,this.handle=e.getAttribute("data-handle")}return e.prototype={events:{click:"openFollow"},openFollow:function(e){var t,n,a=$popup.position,o=$popup.params,l={},r={w:780,h:500},s=new a(r.w,r.h),c=this.el.classList;l.handle=this.handle,r.left=s.left,r.top=s.top,n=_find([{className:"facebook",url:"https://facebook.com/{handle}",network:"Facebook"},{className:"pinterest",url:"http://www.pinterest.com/{handle}",network:"Pinterest"},{className:"instagram",url:"https://www.instagram.com/{handle}",network:"Instagram"},{className:"rss",url:"http://feeds.feedburner.com/{handle}",network:"RSS"},{className:"twitter",url:"https://twitter.com/intent/follow?screen_name={handle}&tw_p=followbutton&variant=2.0",network:"Twitter"},{className:"snapchat",url:"https://www.snapchat.com/discover/{handle}",network:"Snapchat"}],function(e){return c.contains(e.className)}),l.url=n.url.replace("{handle}",l.handle),l.network=n.network,l.name="Follow "+l.handle+" on "+l.network,t=new o(l,r),window.open(t.address,t.name,t.features),e.preventDefault()}},e}]);}, {"79":79,"91":91}];window.modules["comments-link.client"] = [function(require,module,exports){"use strict";const dom=require(4),_get=require(17),_isFinite=require(148),ajax=require(147);DS.controller("comments-link",[function(){var t,e="http://"+document.documentElement.getAttribute("data-uri")+".html";function n(n){var o;(this.el=n,this.coral_talk_root=n.getAttribute("data-coral-talk"),this.commentsCount=dom.find(n,".comments-link-count"),this.commentsText=dom.find(n,".comments-link-text"),this.isNavVariation=n.classList.contains("comments-link_article-nav"),this.cutoffCnt=n.getAttribute("data-cutoffCnt")||1e3,t=`${this.coral_talk_root}/api/v1/graph/ql`,this.shouldRenderCommentStream())&&(o=this.onCommentCountFetched.bind(this),ajax.sendReceiveJson({method:"GET",url:t+'?query={asset(url:"'+e+'"){totalCommentCount}}',dataType:"json"},function(t,e){var n=_get(e,"data.asset.totalCommentCount",0);return t?o(t):_isFinite(n)?void o(null,n):o("Unexpected Coral-Talk response")}))}return n.prototype.onCommentCountFetched=function(t,e){if(t)return console.warn(t);e>0&&(this.isNavVariation&&e1?"s":""),this.el.classList.remove("no-comments"))},n.prototype.shouldRenderCommentStream=function(){return-1!==e.indexOf("@published")},n}]);}, {"4":4,"17":17,"147":147,"148":148}];window.modules["head-gtm.client"] = [function(require,module,exports){"use strict";const{getCLS:getCLS,getFID:getFID,getLCP:getLCP}=require(179),isProduction=require(11)();function reportWebVitals(e){isProduction||console.log("reportWebVitals: %O",e);const t="string"==typeof e.name?e.name.toUpperCase():e.name;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"analyticsEvent",event_action:t,event_category:"Web Vitals",event_label:e.id,event_value:e.delta,eventAction:t,eventCategory:"Web Vitals",eventLabel:e.id,eventNonInt:!0,eventValue:e.delta,nonInteraction:!0,transport:"beacon"})}getCLS(e=>{e.delta=Math.round(1e3*e.delta),reportWebVitals(e)}),getFID(e=>{e.delta=Math.round(e.delta),reportWebVitals(e)}),getLCP(e=>{e.delta=Math.round(e.delta),reportWebVitals(e)});}, {"11":11,"179":179}];window.modules["concert-ads.client"] = [function(require,module,exports){"use strict";const customMappings={"crime-assault":"Power","career money productivity":"Power","feminism-politics-identity":"Power","culture-media":"Culture",celebrity:"Culture",living:"Style",fashion:"Style",shopping:"Style",weddings:"Style",beauty:"Style",animals:"Self","learning creativity":"Self","relationships-friends family":"Self","mental health personality social behavior":"Self","learning creativity":"Self","health-wellness":"Self",parenting:"Self","relationships-sex dating marriage":"Self"},striptags=require(92),auth0=require(18);function installConcertAds(){const e=new URLSearchParams(window.location.search).get("concert_config_url"),t=e||window.concertConfigUrl;window._nymPermutive||console.warn("ConcertAds initializing without Permutive"),window.concertAds=createConcertAds(),window.concertAds.loadRemoteConfig(t).then(function(){window.concertAds.install()})}function createConcertAds(){const e=getAuthStatus();let t=getData("title"),n=window.location.href,i=getData("section"),r="",a=getData("type"),o=getData("title")||"",l=getData("vertical");t&&(t=striptags(htmlDecode(t)).split(" ")),n=n.slice(n.lastIndexOf("/")+1);const c={kw:getKeywords(),network:l,page_type:a,entry_group:i,keywords:t,pn:n,entry_title:[o]};return"Homepage"===a?r="homepage":"Section Page"===a&&(r=(r=window.location.pathname).replace(/\//g,"")),i&&-1===i.indexOf(" ")&&(r=i),customMappings[i]&&(r=customMappings[i]),window.location.hostname.match(/\.aws\./i)&&(c.clay_sandbox_env=l),new window.ConcertAds({cmd:[],slots:[],dfpVariables:c,slugPath:"/"+r.replace(/'--|''/g,"-"),loggedIn:"unauthenticated"!==e,paywallActive:getPaywallStatus(e)})}function getKeywords(){try{const e=window._nymPermutive.article.keywords;return e&&e.length>0&&e.some(Boolean)?e:(document.querySelector('meta[name="keywords"]')||document.querySelector('meta[property="article:tag"]')).getAttribute("content").split(",").map(function(e){return e.trim()})}catch(e){return}}function getData(e){if(window._nymPermutive){if(e in window._nymPermutive)return window._nymPermutive[e];if(window._nymPermutive.article&&e in window._nymPermutive.article)return window._nymPermutive.article[e];if(window._nymPermutive.user&&e in window._nymPermutive.user)return window._nymPermutive.user[e]}}function htmlDecode(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}function getAuthStatus(){const e=auth0.getAppMetadata();return e?e.has_subscription?"entitled":"unentitled":"unauthenticated"}function getPaywallStatus(e){const t=getData("totalCount")||0;return Boolean(t>=3&&"entitled"!==e)}auth0.on("init",()=>{window.ConcertAds?installConcertAds():window.addEventListener("concertAdsReady",installConcertAds)});}, {"18":18,"92":92}];window.modules["curated-feed.client"] = [function(require,module,exports){"use strict";const dom=require(4),lazyLoad=require(134);function lazyLoadImage(e){const o=dom.find(e,"img[data-src]"),t=dom.findAll(e,"source[data-srcset]"),a=dom.closest(e,".feed-item");if(o&&a){new lazyLoad.LazyLoader(a,o,t).init()}}function handleLazyLoad(e){(dom.findAll(e,".feed-item")||[]).forEach(lazyLoadImage)}module.exports=(e=>{const o=e.querySelectorAll("button.show-more");function t(e){const{currentTarget:o}=e;if(o){const e=o.parentElement.parentElement;e&&e.querySelector(".content").classList.toggle("collapsed")}}o&&o.forEach(function(e){e.addEventListener("click",t)}),handleLazyLoad(e)});}, {"4":4,"134":134}];window.modules["coral-talk.client"] = [function(require,module,exports){"use strict";const dom=require(4),visibility=require(5),auth0=require(18);let coralEmbed,hasEmbedScriptLoaded=!1,hasCoralTalkRendered=!1;function renderComments(e){if(hasEmbedScriptLoaded&&!hasCoralTalkRendered){const t={talk:`${e.CORAL_TALK_HOST}`,auth_token:auth0.getCoralJwt(),asset_url:e.TALK_ASSET_URL};hasCoralTalkRendered=!0,coralEmbed=window.Coral.Talk.render(e.commentStreamContainer,t)}}function coralLogin(){coralEmbed.login(auth0.getCoralJwt())}function embedScript(e,t){let i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=e,i.addEventListener("load",()=>{console.log("LOADING EMBED SCRIPT"),hasEmbedScriptLoaded=!0,renderComments(t)}),document.getElementsByTagName("head")[0].appendChild(i)}function initVerificationMessage(){let e=document.querySelector(".coral-talk-container");auth0.isAuthenticated()&&!auth0.isEmailVerified()&&(e.insertAdjacentHTML("beforebegin",'\n\n Please verify your account to enable commenting. Didn\'t receive a verification email? Re-send email now. \n
'),document.querySelector(".activation-link").addEventListener("click",sendVerificationEmail))}function sendVerificationEmail(){let e=document.querySelector(".coral-talk-verify-address");return fetch(`https://${window.location.host}/_user/verification-email?user_id=${auth0.getUserID()}`,{method:"GET",headers:{"Content-Type":"application/json"}}).then(e=>e).then(t=>{t&&200==t.status?e.innerHTML="Verification email was sent successfully":e.innerHTML=`${t.statusText}`}).catch(e=>console.log(e))}function attemptScriptEmbedding(e,t){initVerificationMessage(),hasEmbedScriptLoaded?renderComments(t):embedScript(t.EMBED_URL,t)}function addVisibilityListener(e,t){new visibility.Visible(e,{preloadThreshold:750}).on("preload",()=>attemptScriptEmbedding(e,t))}function removeSignInButton(e){e&&e.parentNode&&dom.removeElement(e)}function init(e){const t=e.getAttribute("data-coral-talk-host"),i=`${t}/static/embed.js`,n=`http://${document.documentElement.getAttribute("data-uri")}.html`,a="true"===e.getAttribute("data-maintenance"),r=-1!==n.indexOf("@published"),o=e.querySelector(".coral-talk-container"),c=e.querySelector(".coral-talk-btn-signin"),d={commentStreamContainer:o,CORAL_TALK_HOST:t,EMBED_URL:i,signInButton:c,TALK_ASSET_URL:n};!a&&r&&auth0.on("init",()=>{addVisibilityListener(e,d),c.addEventListener("click",()=>auth0.showLogin()),auth0.isAuthenticated()&&removeSignInButton(c),visibility.isElementInViewport(e)&&attemptScriptEmbedding(d),hasCoralTalkRendered&&coralLogin()})}module.exports=init;}, {"4":4,"5":5,"18":18}];window.modules["choreographer.client"] = [function(require,module,exports){"use strict";const cookie=require(77),_get=require(17),_omit=require(118),{insertSpeedBumpComponents:insertSpeedBumpComponents}=require(116),{insertNewsletterSpeedBumpComponents:insertNewsletterSpeedBumpComponents}=require(115),{generateGrowl:generateGrowl}=require(114),gtm=require(3),{getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage}=require(62),{reportPaywall:reportPaywall}=require(90),moment=require(44),{getClientHistory:getClientHistory,updateClientHistoryWithPageData:updateClientHistoryWithPageData}=require(117),auth0=require(18),{Scenario:Scenario}=require(111),cidReadyEvent="nymcid-set",cidKey="nymcid",isProduction=require(11)(),logger=require(112).Logger(()=>getLocalStorage("show_choreographer_logs")),{Verdon:Verdon}=require(113),TEST_COHORT_FLAG="optimizeCohort";function displayDebug(e=""){if("entitlement"!==e.split("#").pop())return;const t=_get(window,"dataLayer[0].userDetails",{}),o=_get(window,"dataLayer[0].pageDetails.featureTypes",""),n=o.includes("magazine")?"magazine":"",r=o.includes("feature")?"featured":"",i=`Value of Article: ${n||r||"article"}`,a=`Authentication Status: ${auth0.isAuthenticated()?"authenticated":"unauthenticated"}`,l=`Entitlement Status: ${auth0.isSubscriber()?"entitled":"unentitled"}`,s=`Email: ${auth0.getEmail()}`,c=Object.keys(_omit(t,"newYorkMediaUserID")).map(e=>`${e}: ${t[e]}`),d=document.body,u=document.createElement("div"),g=document.createElement("ul");[s,i,a,l,...c].map(e=>{const t=document.createElement("li");return t.classList.add("debug-item"),t.appendChild(document.createTextNode(e)),t}).forEach(e=>{g.appendChild(e)}),g.classList.add("data-bullets"),u.classList.add("debug-choreographer"),u.classList.add("display-debug-data"),u.appendChild(g),d.appendChild(u)}function initializeChoreographer(e){const t=e.getAttribute("data-site-slug"),o=pageShouldCountAsView(t),n=auth0.isSubscriber();return t?getClientId(cidKey,8e3).then(e=>(logger.h1("Choreographer initialized"),logger.log(`clientId: ${e}`),logger.log(`page counts as a view: ${o}`),window.nymViewsResponse||(o?updateClientHistoryWithPageData(e,t):getClientHistory(e)))).then(r=>{if(logger.group(),logger.h2("Client history"),logger.table(r),logger.groupEnd(),isNCR())return;const{scenarios:i,touts:a,testCohort:l=""}=readJSONFromScript(e.querySelector("script"));if(!(l===(document.body.dataset[TEST_COHORT_FLAG]||"")))return;const s=i.map(e=>Scenario(Object.assign({},e,{history:r,siteSlug:t,isSubscriber:n}))).filter(e=>(logger.group(),logger.h2("Evaluating scenarios"),logger.log(e),logger.groupEnd(),e.shouldShow)).reduce((e,{action:t,min:o,count:n})=>{const r=a.find(({value:e})=>e===t);return r?(e[r.type]=r,e[r.type].viewCount=n-o,e):e},{});logger.group(),logger.h2("Active Touts"),logger.log(s),logger.groupEnd(),executeTouts(e,o,s,r)}).catch(console.error):console.error("siteSlug not found.")}function containsBlockedTags(e){return!!new RegExp(["assault","death","deaths","in memoriam","murder","obituary","obituaries","obit","remembrance","rape","remove interruptions","rip","sexual abuse","sexual assault","tribute"].join("|"),"i").test(e)}function documentIncludesComponent(e){return document.querySelector(`[data-uri*="/${e}/"]`)}function pageShouldCountAsView(e){const t="strategist"===e,o=["product","product-grid"].find(e=>documentIncludesComponent(e));return t||!o}function executeTouts(e,t,o={},n){const{global:r}=n,i={featureArticleCount:r.Feature||0,magazineArticleCount:r.Magazine||0,standardArticleCount:r.Article||0,totalArticleCount:r.total||0},a=window.concertAds,l=window.ConcertAds;if(o["speed-bump"]&&!containsBlockedTags(window._nymGtmPage.tags)&&(_get(a,"adsBlocked",!0)?insertSpeedBumpComponents(findTemplate(e,"speed-bump"),o["speed-bump"],i):a.lifecycle.listenAndPlayback(l.events.slotsInserted,()=>{insertSpeedBumpComponents(findTemplate(e,"speed-bump"),o["speed-bump"],i)})),o["newsletter-speed-bump"]&&!containsBlockedTags(window._nymGtmPage.tags)&&(_get(a,"adsBlocked",!0)?insertNewsletterSpeedBumpComponents(findTemplate(e,"newsletter-speed-bump"),o["newsletter-speed-bump"],i):a.lifecycle.listenAndPlayback(l.events.slotsInserted,()=>{insertNewsletterSpeedBumpComponents(findTemplate(e,"newsletter-speed-bump"),o["newsletter-speed-bump"],i)})),o["branded-growl"]&&brandedTakeoverTime(o["branded-growl"])&&t)return logger.log("should show branded growl"),void growlManager(findTemplate(e,"branded-growl"),{baseTrackingData:i,body:o["branded-growl"].brandedGrowlBody,contentClass:"branded-content",cta:o["branded-growl"].brandedGrowlCTA,imageUrl:o["branded-growl"].imageUrl,link:o["branded-growl"].brandedGrowlLink,name:o["branded-growl"].name,scrollDepth:o["branded-growl"].brandedGrowlScrollDepth,title:o["branded-growl"].brandedGrowlTitle,toutType:"branded growl"},"#branded-growl");if(t&&o["content-cliff"])contentCliff(findTemplate(e,"content-cliff"),o["content-cliff"],o["content-cliff"].viewsLeft,n);else{if(t&&o["cliff-takeover"])return/coronavirus news|pivot|paywall exclude/i.test(window._nymGtmPage.tags)?void(isProduction&&logger.log("Content cliff no-op due to excluded tag match: ",window._nymGtmPage.tags)):void cliffTakeover(findTemplate(e,"paywall-reader-interface"),i,o["cliff-takeover"]);if(o["growl-newletter"]||!o["promo-growl"])if(o["baby-growl"])babyGrowl(findTemplate(e,"paywall-reader-interface"),i,o["baby-growl"]);else{if(!o["warning-growl-2"])return o["warning-growl"]&&shouldWarn()?(setContentCliffWarningDisplayed(),logger.log("should show warning"),void growlManager(findTemplate(e,"warning-growl"),{contentClass:"warning-content",title:o["warning-growl"].warningGrowlTitle,name:o["warning-growl"].name,scrollDepth:o["warning-growl"].warningGrowlScrollDepth,cta:o["warning-growl"].warningGrowlCTA,body:o["warning-growl"].warningGrowlBody,link:o["warning-growl"].warningGrowlLink,baseTrackingData:i,toutType:"warning growl"},"#warning-growl")):void 0;warningGrowl(findTemplate(e,"paywall-reader-interface"),i,o["warning-growl-2"])}else growlManager(findTemplate(e,"growl-message"),{contentClass:"promo-content",title:void 0,name:o["promo-growl"].name,scrollDepth:o["promo-growl"].promoGrowlScrollDepth,cta:o["promo-growl"].promoGrowlCTA,body:o["promo-growl"].promoGrowlMessage,link:o["promo-growl"].promoGrowlLink,baseTrackingData:i,toutType:"promo growl"},"#growl-message")}}function shouldWarn(){return!contentCliffWarningDisplayed()}function getContentCliffWarningDisplayedKey(){const e=new Date,t=e.getMonth();return`content-cliff-warning-displayed-${e.getFullYear()}-${t}`}function contentCliffWarningDisplayed(){const e=getContentCliffWarningDisplayedKey();return"true"===getLocalStorage(e)}function setContentCliffWarningDisplayed(){const e=getContentCliffWarningDisplayedKey();return setLocalStorage(e,"true")}function growlManager(e,{contentClass:t,scrollDepth:o,name:n,title:r,body:i,cta:a,link:l,baseTrackingData:s,toutType:c,imageUrl:d=null},u=""){const g=function(){const e=`\n \n `;return document.createRange().createContextualFragment(e)}(),p={creative:i,id:c,name:n,position:"growl"};g.querySelector("a").addEventListener("click",()=>promotionReport("Click",s,p)),generateGrowl(e,u,{content:g,scrollDepth:o,onShow:()=>promotionReport("View",s,p)})}function contentCliff(e,t,o,n){const{first_visit:r,global:i}=n,a={totalArticleCount:i.total||0,standardArticleCount:i.Article||0,featureArticleCount:i.Feature||0,magazineArticleCount:i.Magazine||0},{contentCliffBody:l}=t,s=document.importNode(e,!0).querySelector(".content-cliff"),c=document.querySelector(".article-content > .clay-paragraph"),d={creative:l,id:"content cliff",name:"Content Cliff",position:"in-article"};s&&(c.insertAdjacentHTML("afterend",s.outerHTML),require("content-cliff.client")(document.querySelector(".content-cliff"),{contentCliffOptions:t,viewsLeft:o,firstVisit:Number(r),onShow:()=>promotionReport("View",a,d),onClickCliff:()=>promotionReport("Click",a,d)}))}function verdonFosseToutSetter(e,t,o,n,r){const i=new Verdon({container:".paywall-reader-interface",url:"https://fosse.nymag.com/fosse/v1.7.0/index.html"}),a=e.type,l={email:auth0.getEmail(),isAuthenticated:auth0.isAuthenticated(),isSubscriber:auth0.isSubscriber()};n.classList.add(a),window.addEventListener("resize",()=>i.frame&&r&&i.sendMessage("frame:height")),i.once("frame:ready",()=>{i.sendMessage("tout:show",{readerState:l,toutType:a,toutData:e}),r&&setTimeout(()=>{i.sendMessage("frame:height")},1200)}),i.on("tout:visible",()=>{promotionReport("View",t,o)}),i.on("tout:sign-in",()=>{auth0.showLogin()}),i.on("tout:log-out",()=>{auth0.logout()}),i.on("tout:dismiss",()=>{n.classList.add("dismiss"),i.sendMessage("tout:hide",{toutType:a,toutData:e})}),i.on("tout:subscribe",()=>{e.ctaLink=replaceQueryParams(e.ctaLink),promotionReport("Click",t,o),window.location.href=e.ctaLink}),i.on("frame:height",e=>{n.style.transform=`translateY(calc(100% - ${e.payload.currentHeight+10}px))`}),i.on("tout:view-account",()=>{window.location.href="https://subs.nymag.com/account"})}function promotionReport(e,t,o){const{creative:n,id:r,name:i,position:a}=o;t.event=`eec.promotion${e}`,t.ecommerce={promoView:{promotions:[{creative:n.trim(),id:r,name:i,position:a}]}},gtm.reportNow(t),reportPaywall({creative:n.trim(),eventType:e,id:r,name:i,position:a})}function babyGrowl(e,t,o){const n=document.importNode(e,!0).querySelector(".paywall-reader-interface"),r={creative:o.babygrowlDescription,id:"baby growl",name:"baby growl",position:"growl"};document.body.appendChild(n),o.ctaLink=o.babygrowlCtaLink,o.ctaText=o.babygrowlMessage,o.headline=o.babygrowlDescription,verdonFosseToutSetter(o,t,r,n)}function cliffTakeover(e,t,o){const{cliffTakeoverCTA:n,cliffTakeoverCtaLink:r,cliffTakeoverDescription:i,cliffTakeoverImage:a,cliffTakeoverPromo:l,cliffTakeoverStatus:s,type:c}=o,d=document.importNode(e,!0).querySelector(".paywall-reader-interface"),u=document.querySelectorAll(".clay-paragraph"),g={creative:l,id:"content cliff",name:"Content Cliff",position:"growl"},p={cta:n,ctaLink:r,description:i,image:a,promo:l,status:s,type:c};document.body.appendChild(d),u.forEach((e,t)=>{0!==t&&e.remove()}),verdonFosseToutSetter(p,t,g,d,!0),document.querySelector("html").style.overflowY="hidden",document.body.style.position="fixed"}function warningGrowl(e,t,o){const{type:n,warningGrowl2CTA:r,warningGrowl2CtaLink:i,warningGrowl2Description:a,warningGrowl2Image:l,warningGrowl2Promo:s,warningGrowl2Status:c}=o,d=document.importNode(e,!0).querySelector(".paywall-reader-interface"),u={creative:s,id:"warning growl",name:"Warning Growl",position:"growl"},g={cta:r,ctaLink:i,description:a,image:l,promo:s,status:c,type:n};document.body.appendChild(d),verdonFosseToutSetter(g,t,u,d,!0)}function getClientId(e="",t=8e3){let o=cookie.get(e);return o?Promise.resolve(o):new Promise((o,n)=>{const r=setTimeout(()=>{n(`could not find key: ${e} on cookie after ${t}ms`)},t);window.addEventListener(cidReadyEvent,()=>{clearTimeout(r),o(cookie.get(e))})})}function readJSONFromScript(e){try{return JSON.parse(e.innerHTML)}catch(e){return{touts:[],scenarios:[]}}}function findTemplate(e,t=""){const o=e&&e.querySelector(`[data-template-id="${t}"]`);return o&&o.content}function isNCR(){return/[?&]source=ncr/.test(location.search)}function brandedTakeoverTime(e){const{startTime:t,endTime:o,startDate:n,endDate:r}=e,i=n.concat(" ",t),a=r.concat(" ",o),l=moment(i),s=moment(a);return moment().isBetween(l,s)}function optimizeDebugger(){return new Promise(e=>{const t=window.location.search||"";if(t){const o=new URLSearchParams(t),n=o.get("optimize-attribute-name")||"",r=o.get("optimize-attribute-value")||"",i=o.get("optimize-delay")||0,a=o.get("optimize-cookie")||!1;setTimeout(()=>{a&&(document.cookie=randomNymcid()),document.body.setAttribute(`data-${n}`,r),e()},i)}else e()})}function randomNymcid(){return`nymcid=${(()=>([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=>(e^16*crypto.getRandomValues(new Uint8Array(1))[0]>>e/4).toString(16)[0]))()}`}function replaceQueryParams(e){const t=window.location.search||"";if(t){const o=new URLSearchParams(t);if(e.includes("?")){const t=e.split("?"),n=new URLSearchParams(t[1]);for(let e of o.entries())n.set(e[0],e[1]);e=`${t[0]}?${n.toString()}`}else e=`${e}?${o.toString()}`}return e}module.exports=(e=>new Promise(e=>{auth0.on("init",()=>{e()})}).then(()=>optimizeDebugger()).then(()=>{displayDebug(window.location.href),initializeChoreographer(e)}));}, {"3":3,"11":11,"17":17,"18":18,"44":44,"62":62,"77":77,"90":90,"111":111,"112":112,"113":113,"114":114,"115":115,"116":116,"117":117,"118":118,"content-cliff.client":"content-cliff.client"}];window.modules["growl.client"] = [function(require,module,exports){"use strict";require(177);const _some=require(97),dom=require(4),localStorageKeyRoot="slideout-",{getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage}=require(62);module.exports=((e,t)=>{const{content:o,onShow:s,scrollDepth:r=50,dismissable:i=!1}=t,n=Number(r||e.getAttribute("data-display-at-page-scroll-percentage")),a=dom.find(e,".modal"),l="slideout-"+(t.id||e.getAttribute("id")),c=getLocalStorage(l);function d(){a.classList.add("hidden")}function g(){setLocalStorage(l,!0),d()}i&&c?e.remove():(o&&e.querySelector("[data-content]").appendChild(o),n&&function(e=50){const t=new IntersectionObserver(e=>{_some(e,"isIntersecting")&&(a.style.top="inherit",a.classList.remove("hidden","initial"),"function"==typeof s&&s(),t.unobserve(a))});a.style.top=`${document.querySelector("body").scrollHeight/(100/e)}px`,t.observe(a)}(n),e.querySelector(".dismiss-modal").addEventListener("click",()=>i?g():d()),e.addEventListener("growl:hide",d),e.addEventListener("growl:dismiss",g))});}, {"4":4,"62":62,"97":97,"177":177}];window.modules["newsletter-speed-bump.client"] = [function(require,module,exports){"use strict";const{loadRecaptcha:loadRecaptcha}=require(146),_isEmpty=require(125),_set=require(145),_kebabCase=require(119),gtm=require(3),auth0=require(18),visibility=require(5),COMPONENT_NAME="newsletter-speed-bump",EMAIL_VALID_REGEX=/^(?:(?:[^()\[\]\\.,;:\s@"]+(?:\.[^()\[\]\\.,;:\s@"]+)*)|(".+"))@(?:(?:\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(?:(?:[a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,LOCAL_STORAGE_KEY_NAME="newsletterSpeedBumpSignUpStatus_",MAX_EMAIL_LENGTH=50;function setClass(e,t){e.classList.add(t)}function getRequestUrl(e){return e.getAttribute("action")}function getPageType(e){const t=e?e.getAttribute("content"):"";return _kebabCase(t)}function getPayloadObject(e,t,r,s){const n={};return _set(n,`vars.source_${t}`,`${COMPONENT_NAME}_${s}`),n.email=r,n.lists={},n.lists[t]=!0,n.recaptcha=e,n.signuppage=`${document.location.href}_${t}`,n[`source_${t}`]="newsleter_speedbump",n}module.exports=((e,t)=>{if(!t||!e)return;if("success"===window.localStorage.getItem(`${LOCAL_STORAGE_KEY_NAME}${t.newsletterSpeedBumpNewsletterId}`))return void e.remove();const{baseTrackingData:r,name:s,newsletterSpeedBumpCtaCopy:n,newsletterSpeedBumpDescription:i,newsletterSpeedBumpHeadline:a,newsletterSpeedBumpNewsletterId:o,newsletterSpeedBumpThankYouMessage:c,RECAPTCHA_PUBLIC_KEY:l}=t,u=auth0.getEmail(),d=e.querySelector(".description"),p=e.querySelector(".input.email"),m=e.querySelector(".error-message"),h=e.querySelector(".form"),E=e.querySelector(".form-container"),y=e.querySelector(".form-recaptcha-container"),g=e.querySelector(".headline"),v=e.querySelector(".container"),S=e.querySelector(".input.newsletterId"),_=e.querySelector(".recaptcha-wrapper"),L=e.querySelector(".input.submit"),w=e.querySelector(".text-container"),q=new visibility.Visible(e,{shownThreshold:.5});u&&(p.removeAttribute("required"),e.classList.add("signed-in")),d.innerHTML=i,g.innerHTML=a,S.value=o,L.value=n,q.on("shown",function(){if(visibility.isElementNotHidden(e)){const e=r;e.event="eec.promotionView",e.ecommerce={promoView:{promotions:[{creative:`${a} | ${i}`,id:"newsletter speed bump",name:s,position:"in-article"}]}},gtm.reportNow(e),q.destroy()}}),p.addEventListener("focus",()=>{_.classList.remove("hidden")}),h.addEventListener("submit",t=>{t.preventDefault();const s=new XMLHttpRequest,n=u||e.querySelector(".input.email").value,i=getPageType(document.querySelector('meta[name="type"]'));u||!(n.length>=50)&&EMAIL_VALID_REGEX.test(n)?loadRecaptcha(l,"newsletterSubmit",!0).then(a=>{s.open("POST",getRequestUrl(h),!0),s.setRequestHeader("Content-Type","application/json;charset=UTF-8"),s.addEventListener("load",s=>{const a=s.currentTarget||s.target;if(a.status>=200&&a.statussetClass(e,"success")),[d,E,m,_].forEach(e=>setClass(e,"hidden")),g.innerHTML=c.replace("{{email}}",n),m.innerHTML="";const s=JSON.parse(a.response),l=_isEmpty(s.sailthruIds)?"":Object.values(s.sailthruIds)[0],u=r;u.event="eec.purchase",u.ecommerce={purchase:{actionField:{id:l,revenue:"0.00"},products:[{category:"newsletter signup",name:S.value,quantity:1,variant:`${COMPONENT_NAME} - ${i}`}]}},gtm.reportNow(u),/]*>([^/gim.test(c)||setTimeout(()=>{e.classList.add("hidden")},5e3),t.preventDefault()}else m.innerHTML="*An error has occurred. Please try again."}),s.addEventListener("error",()=>{m.classList.remove("hidden"),m.innerHTML="*An error has occurred. Please try again."}),s.send(JSON.stringify(getPayloadObject(a,o,n,i))),t.preventDefault()}):m.innerHTML="*Please enter a valid email"})});}, {"3":3,"5":5,"18":18,"119":119,"125":125,"145":145,"146":146}];window.modules["speed-bump.client"] = [function(require,module,exports){"use strict";const gtm=require(3),visibility=require(5);module.exports=((e,i)=>{if(!i||!e)return;const{name:o,speedbumpDescription:r,speedbumpMessage:t,speedbumpLink:n,baseTrackingData:s}=i,c=new visibility.Visible(e,{shownThreshold:.5});e.querySelector(".description").innerHTML=r,e.querySelector(".promo-link").innerHTML=t,e.querySelector(".promo-link").href=n,e.classList.remove("collapsed"),c.on("shown",function(){if(visibility.isElementNotHidden(e)){let e=s;e.event="eec.promotionView",e.ecommerce={promoView:{promotions:[{name:o,creative:r,id:"speed bump",position:"in-article"}]}},gtm.reportNow(e),c.destroy()}}),e.querySelector(".promo-link").addEventListener("click",function(){let e=s;e.event="eec.promotionClick",e.ecommerce={promoClick:{promotions:[{name:o,creative:r,id:"speed bump",position:"in-article"}]}},gtm.reportNow(e)})});}, {"3":3,"5":5}];window.modules["content-cliff.client"] = [function(require,module,exports){"use strict";const auth0=require(18),isProduction=require(11)(),logger=require(112).Logger(()=>!isProduction);module.exports=((t,e)=>{if(!e)return;logger.group(),logger.h2("Content Cliff");const{contentCliffOptions:o,firstVisit:n,onShow:r,onClickCliff:i}=e,c=300,l=Number(document.querySelector("[data-components-count]").getAttribute("data-components-count")),u=3,s=["taboola"],a="#content-cliff",f=t,d=function(){let t=0;return document.querySelectorAll("[data-word-count]").forEach(function(e){t+=Number(e.getAttribute("data-word-count")||0,10)||0}),t}(),g=function(t,e){function o(t){return Math.round(t.getTime()/1e3/60)}const n=o(t),r=o(e);return n-r}(new Date,new Date(n)){},show:()=>{r(),function(){(p=function(t=""){return document.querySelectorAll(`${t} ~ *`)}(a)).forEach(t=>t.remove()),function(){const{contentCliffStatus:e,contentCliffPromo:n,contentCliffCTA:r,contentCliffURL:c}=o,l=t.querySelector("[data-content-cliff-status]"),u=t.querySelector("[data-content-cliff-promo]"),s=t.querySelector("[data-content-cliff-cta]");s&&s.setAttribute("href",c),s&&s.insertAdjacentHTML("afterbegin",r),l&&l.insertAdjacentHTML("afterbegin",e),u&&u.insertAdjacentHTML("afterbegin",n),s&&s.addEventListener("click",i)}(),f.classList.remove("collapsed"),e=s,e.forEach(t=>{const e=document.querySelector(`[data-uri*="/${t}/"]`);e&&e.remove()}),m.addEventListener("click",()=>auth0.showLogin());var e}()}}[function(){if(dl)return logger.log(`article word count ${d} was too short for the cliff`),logger.log(`article components count is smaller than ${u} and not eligible for the cliff`),"noop";if(g&&isProduction)return"noop";g&&logger.log(`First session check was ${g}! Showing the cliff anyway: isProduction => ${isProduction}`);if(/coronavirus news|pivot|paywall exclude/i.test(window._nymGtmPage.tags))return isProduction&&logger.log("Content cliff no-op due to excluded tag match: ",window._nymGtmPage.tags),"noop";return"show"}()],m=t.querySelector(".content-cliff-login");let p=[];return logger.log(`should noop in production due to 30-minute first-session window: ${g}`),logger.groupEnd(),auth0.on("login",()=>{f.classList.add("collapsed"),(p=Array.prototype.slice.call(p,0).reverse()).forEach(t=>f.insertAdjacentElement("afterend",t)),p=[]}),"function"==typeof h?h():void 0});}, {"11":11,"18":18,"112":112}];window.modules["most-popular.client"] = [function(require,module,exports){"use strict";const dom=require(4),lazyLoad=require(134);function lazyLoadImage(a){const o=dom.find(a,"img[data-src]"),d=a&&dom.findAll(a,"source[data-srcset]"),e=o&&dom.closest(o,".feed-image-wrap");if(o&&e){new lazyLoad.LazyLoader(e,o,d).init()}}function handleLazyLoad(a){(dom.findAll(a,".most-popular-item")||[]).forEach(lazyLoadImage)}module.exports=(a=>{handleLazyLoad(a)});}, {"4":4,"134":134}];window.modules["collection-package.client"] = [function(require,module,exports){"use strict";const dom=require(4),Hammer=require(137),lazyLoad=require(134),_debounce=require(138),BREAKPOINT=768,ANIMATION_DURATION=250;module.exports=(e=>{const t=dom.find(".collection-simple_text-top"),n=e.querySelector(".list-wrapper"),i=e.querySelector(".package-content"),o=dom.findAll(e,".article"),r=e.classList.contains("carousel-layout");var a,s=0,c=!1;if(r){if(!n)return;function d(){a.off("swipeleft").off("swiperight"),s=0,n.style.transform="translate(0px)",window.innerWidth1?(window.cancelAnimationFrame(s),i&&i()):(t=r+(c=d)*(2-c)*a,e.style.transform="translate("+t+"px)",window.requestAnimationFrame(s))};n||(n=0);window.requestAnimationFrame(s)}(n,i,ANIMATION_DURATION,function(){s=e,c=!1})}function f(){c||s>0&&l(s-1)}function u(){c||s{!function(e){const t=dom.findAll(e,"source[data-srcset]"),n=dom.find(e,"img[data-src]"),i=dom.find(e,".article-img-wrapper");if(t&&n&&i){const e=new lazyLoad.LazyLoader(i,n,t);i.classList.add("contains-image"),e.init()}}(e)})});}, {"4":4,"134":134,"137":137,"138":138}];window.modules["sticky-list.client"] = [function(require,module,exports){"use strict";const dom=require(4),$gtm=require(3),_get=require(17),stickyContainer=require("sticky-container.client");DS.controller("sticky-list",["$window",function(t){var e=require(257),i=40;function s(s){let n,r=function(t){let s=t[0],n=0,r=e.height(this.contentArea),o=this.contentArea.offsetHeight;if(this.containers&&this.containers.length){if(s.target.offsetHeight){let t=this.breakouts.findIndex(t=>(function(t,e){return t!==document.body&&t.contains(e)})(t,s.target.parentElement));if(t>-1&&this.breakouts[t]){let e=this.breakouts[t].offsetHeight+i;this.containers[t].style.marginBottom=`${e}px`}}if(o!==this.currentHeigh){const t=e.rect(this.rightRail,this.contentArea);this.currentHeight=o,this.rightRail.style.height=r-t.top-a(this.rightRail)+"px",this.breakouts.forEach((s,r)=>{let a=e.rect(s,this.contentArea),o=e.intersection(a,t);if(o){let e,s=o.top-t.top-n;n+=s+o.height+i,this.containers[r].style.height=`${s}px`,this.containers[r].style.minHeight=`${s}px`,e=this.breakouts[r].offsetHeight+i,this.containers[r].style.marginBottom=`${e}px`}})}}}.bind(this);t.innerWidth{let n=_get(e,"dataset.name",""),r=n.slice(-1)||"1",a=["Image_Gallery","Standard_Article","Feature","One_Column_Article"].find(t=>n.includes(t))||"";this.rightRail.parentElement.classList.contains("tertiary")&&a&&(e.dataset.name=parseInt(i,10)+se===t)||0;return i.slice(s+1).reduce((t,e)=>t+(e.offsetHeight||0),0)||0}return s.prototype={setPins:function(){const t=e.rect(this.rightRail,this.contentArea),i=e.height(this.contentArea),s=i-t.top-a(this.rightRail);let n,o,h,l;if(this.populatePinsList(),s1&&t.classList.add("multi-children"),l=0;l{const t=Array.from(e.children);let o,a,i=0;for(;ia.bottom||n.righta.right)?a.bottom-n.top:0}function getElementsOverlapAmount(e,t){var n,a=[];return _forEach(t,function(t){n=getElementsVerticalOverlap(e,t),a.push(n)}),_max(a)}function getNYMagAdChannel(e){var t="";switch(e){case"company information":t="company";break;case"new york guides & things to do":t="to-do";break;case"other":t=e;break;case"sponsored guides":t="s-guides";break;case"urbanist":t="urbanist";break;default:t=""}return t}function appendSectionToDfpAds(){var e,t,n,a=document.querySelector("meta[property='og:site_name']"),o=document.querySelector("article[data-content-channel]"),i=document.querySelectorAll(AD_NAME_SELECTOR);a&&(e=a.content),o&&(t=o.getAttribute("data-content-channel").toLowerCase()),t&&"New York Magazine"===e&&(n=getNYMagAdChannel(t)),n&&appendToAdd(i,n)}function appendPageTypeToDfpAds(){let e=document.querySelector(".body > div")||{},t=document.querySelector("body")||{},n=e&&e.classList,a=n&&n.length?[...n]:[],o=_find(a,e=>e.includes("feature")),i=document.querySelectorAll(AD_NAME_SELECTOR);n&&(o?appendPageNumberPositionToDfpAds(i,"Feature"):n.contains("lede-gallery-content")?appendPageNumberPositionToDfpAds(i,"Image_Gallery"):t.classList.contains("one-column-layout")?appendPageNumberPositionToDfpAds(i,"One_Column_Article"):n.contains("article-content")&&appendPageNumberPositionToDfpAds(i,"Standard_Article"))}function appendPageNumberPositionToDfpAds(e,t){const n=["528x379","1100x200","1x1"];let a=e||[],o=dom.find(".ad-splash"),i=dom.find("section.wrapper"),r=dom.find(".secondary"),d=dom.find(".bottom"),s=dom.find(".primary"),c={IA:{xsMobile:{normal:1,grid:1},mobile:{normal:1,grid:1},tablet:{normal:1,grid:1},desktop:{normal:1,grid:1}},BA:{xsMobile:{normal:1,grid:1},mobile:{normal:1,grid:1},tablet:{normal:1,grid:1},desktop:{normal:1,grid:1}}};a.forEach(e=>{let a,l="",u=e.dataset.sizes,m=e.classList.value,p=_find(n,e=>u.includes(e)),g=e.parentElement.classList.contains("image-gallery-mobile-grid-ad");if(u&&!p||e.setAttribute("data-name",e.getAttribute("data-name")+"/"+t),i&&u&&!p){let n,u;if(o&&o.contains(e)?l="LB":i&&i.contains(e)?l="IA":(r&&r.contains(e)||d&&d.contains(e)||s&&s.contains(e))&&(l="BA"),c[l]){if(!(u=checkForAdViewport(m)))return;g?(n=c[l][u].grid,c[l][u].grid++):(n=c[l][u].normal,c[l][u].normal++),a=n{e.setAttribute("data-name",e.getAttribute("data-name")+"/"+t)})}function injectGoogleScripts(){var e=document.createElement("script"),t=document.createElement("script"),n=document.createDocumentFragment();e.src="https://www.googletagservices.com/tag/js/gpt.js",e.async="async",t.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",t.async="async",n.appendChild(e),n.appendChild(t),document.getElementsByTagName("body")[0].appendChild(n)}appendSectionToDfpAds(),appendPageTypeToDfpAds(),injectGoogleScripts(),DS.controller("ad",["adService",function(e){return function(t){var n,a,o,i=t.getAttribute("data-offload"),r=new $visibility.Visible(t,{preloadThreshold:i?window.innerHeight/4:200}),d=!1;function s(){window.innerWidth>=1180&&t.parentElement.classList.contains("ad-repeat")&&flaggedComponentsOnPage.length&&(a=getElementsOverlapAmount(t,flaggedComponentsOnPage),o=parseInt(t.parentElement.getAttribute("data-gap"),10),t.style.marginTop=o+30+a+"px")}function c(){s(),e.refresh(n)}function l(){e.remove(n),d||(d=!0,r.on("shown",c))}document.querySelector('script[data-name="concert-ads"]')||(n=e.create(t),r.preload&&$visibility.isElementNotHidden(t)?(e.addToPageLoadQueue(n),i&&r.on("hidden",l)):(r.on("preload",function(){!n.slot&&$visibility.isElementNotHidden(t)&&(s(),e.load(n))}),i&&r.on("hidden",l)),this.adData=n)}}]);}, {"4":4,"5":5,"78":78,"79":79,"80":80,"81":81}];window.modules["article.client"] = [function(require,module,exports){"use strict";const $visibility=require(5),$gtm=require(3),ImageZoom=require(94),$sentry=require(95);DS.controller("article",[function(){var e=40;function t(t){const i=document.querySelector(".wrapper > .tertiary"),n=t.querySelector(".lede-image-wrapper.full-bleed"),r=t.querySelector(".attribution.full-bleed"),o=t.querySelector(".article-header"),l=o?o.querySelector("img"):null,c=function(){let t=o.getBoundingClientRect().height;n&&(t=n.getBoundingClientRect().height+25,r&&(t+=r.getBoundingClientRect().height)),i.style.paddingTop=t+e+"px"};i&&o&&(window.innerWidtht(e)),document.addEventListener("closeBanner",function(){i(e)}),$sentry.initializeIDListeners()}}]);}, {"3":3,"5":5,"94":94,"95":95}];window.modules["tags.client"] = [function(require,module,exports){"use strict";const _forEach=require(78);DS.controller("tags",[function(){function e(e){this.el=e}return e.prototype={events:{"a.more click":"showAll"},showAll:function(e){var t=e.target,o=this.el.querySelectorAll("li.hidden");_forEach(o,function(e){e.classList.remove("hidden")}),t.parentNode.removeChild(t),e.preventDefault()}},e}]);}, {"78":78}];window.modules["newsletter-flex-text.client"] = [function(require,module,exports){"use strict";const dom=require(4),_kebabCase=require(119),_isEmpty=require(125),_set=require(145),permutive=require(90),cmptName="newsletter-flex-text",{loadRecaptcha:loadRecaptcha}=require(146),gtm=require(3),sentry=require(95),EMAIL_VALID_REGEX=/^(?:(?:[^()\[\]\\.,;:\s@"]+(?:\.[^()\[\]\\.,;:\s@"]+)*)|(".+"))@(?:(?:\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(?:(?:[a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,MAX_EMAIL_LENGTH=50;DS.controller(cmptName,["$window",function(e){const t="An error occurred. Please try again.";function s(t){this.el=t,this.email=dom.find(t,".email"),this.title=dom.find(t,".title"),this.description=dom.find(t,".description"),this.source=dom.find(t,".source"),this.form=dom.find(t,".form"),this.returnMsg=dom.find(t,".return-message"),this.newsletterId=dom.find(t,".newsletterId").value,this.expandedTerms=dom.find(t,".expanded-terms"),this.recaptchaKey=this.form.dataset.recaptchaPublicKey,this.local=e.localStorage,this.session=e.sessionStorage,this.apiEndpoint=this.form.dataset.post,this.displayComponent()}return s.prototype={getPageType:function(){var e=dom.find('meta[name="type"]'),t=e?e.getAttribute("content"):"";return _kebabCase(t)},getPayloadObject:function(e){var t={};return t.email=this.email.value,t.recaptcha=e,_set(t,`vars.source_${this.newsletterId}`,`${cmptName}_${this.getPageType()}`),t.lists={},t.lists[this.newsletterId]=!0,t},displayComponent:function(){var t=this,s="success"===this.local["signUpColumnStatus"+this.newsletterId.toString()],i="true"===this.form.getAttribute("data-display-after-sign-up");if(!s||i){if(this.el.classList.remove("initially-hidden"),this.form.classList.remove("initially-hidden"),setTimeout(function(){t.el.classList.remove("opacity-zero")},100),this.session)try{this.session.setItem("signUpColumn","displayed")}catch(e){}}else t.el.parentElement.classList.add("newsletter-collapsed");e.addEventListener("unload",function(){t.session.removeItem("signUpColumn")})},events:{".form submit":"submitForm",".email keypress":"clearMsg",".terms-button click":"showTerms"},clearMsg:function(){this.returnMsg.innerHTML=""},showTerms:function(){this.expandedTerms.classList.add("active"),this.expandedTerms.setAttribute("aria-hidden","false")},submitForm:function(e){let t=this.form.getAttribute("data-error-msg");e.preventDefault(),this.email.value.length>=50||!EMAIL_VALID_REGEX.test(this.email.value)?(t&&""!==t||(t="*Please enter a valid email"),this.returnMsg.innerHTML=t,this.returnMsg.focus()):loadRecaptcha(this.recaptchaKey,"newsletterSubmit",!0).then(e=>fetch(this.apiEndpoint,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(this.getPayloadObject(e))}).then(e=>e.json()).then(e=>{e&&e.ok?this.successHandle(e):this.errorHandle()}).catch(e=>this.errorHandle(e)))},reportGTM:function(e){const t=_isEmpty(e.sailthruIds)?"":Object.values(e.sailthruIds)[0];let s={event:"eec.purchase"};s.ecommerce={purchase:{actionField:{id:t,revenue:"0.00"},products:[{category:"newsletter signup",quantity:1,name:this.newsletterId.toString(),variant:`${cmptName} - ${this.getPageType()}`}]}},gtm.reportNow(s)},errorHandle:function(e){this.returnMsg.classList.add("error"),this.returnMsg.innerHTML=e||t,this.returnMsg.focus(),sentry.captureManualError(e||t)},successHandle:function(e){let t=this,s=this.form.getAttribute("data-success-title-msg"),i=this.form.getAttribute("data-success-description-msg");if(s&&""!==s||(s="Thanks, you're all set!"),i&&""!==i||(i="You'll receive the next newsletter in your inbox."),window.fbq&&window.fbq("track","Lead"),permutive.reportNewsletterSubscribe([this.newsletterId]),this.reportGTM(e),this.title.innerHTML=s,this.description.innerHTML=i,this.returnMsg.focus(),this.el.classList.add("success"),setTimeout(function(){t.el.classList.add("opacity-zero"),setTimeout(function(){t.el.classList.add("initially-hidden"),t.el.parentElement.classList.add("newsletter-collapsed")},1e3)},5e3),this.local)try{this.local.setItem("signUpColumnStatus"+this.newsletterId.toString(),"success")}catch(e){}}},s}]);}, {"3":3,"4":4,"90":90,"95":95,"119":119,"125":125,"145":145,"146":146}];window.modules["memo-pixel.client"] = [function(require,module,exports){"use strict";(()=>{var e=document.createElement("script");e.async=!0,e.type="text/javascript",e.src=document.location.protocol+"//d16xpr36wrmcmk.cloudfront.net/js/memo.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e)})(),module.exports=(()=>{});}, {}];window.modules["affiliate-links.client"] = [function(require,module,exports){"use strict";const dom=require(4),_includes=require(81),_startsWith=require(86),globalClick=require(83),visit=require(85),productSubtags=require(87),{getAffiliateByUrl:getAffiliateByUrl}=require(84);var excludedHostnames,skimlinksBaseUrl,skimlinksId,visitState,productUrl,ignoreDataAttribute="data-affiliate-links-ignore",article=window.document.querySelector("article"),isSponsored=article&&"Sponsor Story"===article.getAttribute("data-type");function setExcludedHostnames(e){excludedHostnames=(e.getAttribute("data-excluded-hostnames")||"").toLowerCase().split(",")}function isSkimLink(e){return!!(skimlinksId=e.getAttribute("data-skimlinks"))}function isExcluded(e){return _includes(excludedHostnames,e)||_startsWith(e,"www.")&&_includes(excludedHostnames,e.slice(4))||isSponsored}function isUrlProtocol(e){return 0!==e.indexOf("mailto:")&&0!==e.indexOf("javascript:")}function getTargetHostname(e){return(e.hostname||e.host||e.href||"").toLowerCase()}function convertSkimlinkUrl(e){return(skimlinksBaseUrl=skimlinksBaseUrl||skimlinksId?"//go.redirectingat.com/?xs=1&id="+skimlinksId+"&sref="+encodeURIComponent(window.location.href)+"&url=":void 0)&&skimlinksBaseUrl+encodeURIComponent(e)}function hasIgnoreAttribute(e){return"true"===e.getAttribute(ignoreDataAttribute)}function convertSkimlink(e){var t,i,r,s=dom.closest(e.target,"a"),n=s&&s.href;n&&n.length&&!e.defaultPrevented&&(i=getTargetHostname(s),!isUrlProtocol(n)||isExcluded(i)||hasIgnoreAttribute(s)||getAffiliateByUrl(n)||(t=convertSkimlinkUrl(n))&&(productUrl=n,r=s&&s.getAttribute("data-track-id"),s.href=productSubtags.ensureSubtag({url:t,productId:r,visitState:visitState,anchorEl:s})))}function revertSkimLink(e){var t=dom.closest(e.target,"a"),i=t&&t.href||"";i.includes(skimlinksBaseUrl)&&i&&i.length&&productUrl&&(t.href=productUrl)}module.exports=(e=>{const t=isSkimLink(e);visit.onceReady(function(e){visitState=e}),t&&(setExcludedHostnames(e),globalClick.addHandler(convertSkimlink,revertSkimLink))});}, {"4":4,"81":81,"83":83,"84":84,"85":85,"86":86,"87":87}];window.modules["gtm.client"] = [function(require,module,exports){"use strict";const $gtm=require(3);DS.controller("gtm",[function(){return function(t){$gtm.init(t.getAttribute("data-container-id"),t.getAttribute("data-site-slug"))}}]);}, {"3":3}];window.modules["customer-alert-banner.client"] = [function(require,module,exports){"use strict";const auth0=require(18),gtm=require(3),{isTwoMonthsOrLess:isTwoMonthsOrLess}=require(12),isProd=require(11)(),endOfMonth=require(25),readJSONFromScript=e=>{try{return JSON.parse(e.innerHTML)}catch(e){return{alerts:[]}}};module.exports=(e=>{const{alerts:t=[]}=readJSONFromScript(e.querySelector("script")),r=e.querySelector(".customer-alert-container"),i=e.querySelector(".alert-headline"),s=e.querySelector(".link-chevrons"),n=e.querySelector("#alertCloseButton"),o=e.querySelector(".alert-icon"),a=window.location.hostname.includes("localhost")?"https://subs.localhost/graphql":`https://subs.${isProd?"prd":"stg"}.nymetro.com/graphql`,c="card-expired",u="card-update",l="past-due",d="verify-email",p="subscription-ending",m="site-issue";let h=!1,y=e.querySelector(".banner-cta");t.map(e=>{e.type===m&&(h=!0)}),auth0.on("init",()=>{const e=auth0.getEmail(),r=1e3*(Math.floor(3*Math.random())+1),i=auth0.isAuthenticated(),s=auth0.isSubscriber(),n=auth0.getUserID(),o={cardExpirationInTwoMonthsOrLess:!1,daysTillSubscriptionEnds:0,isEmailVerified:!i||auth0.isEmailVerified(),isExpired:!1,subscriptionStatus:"",subscriptionExpirationInTwoMonthsOrLess:!1,siteIssue:h,userId:n},c=["active","past_due","trialing","unpaid"];i&&o.isEmailVerified&&s&&!h?setTimeout(()=>{fetch(a,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${auth0.getAuthJwt()}`,user:window.btoa(e)},body:g(e)}).then(e=>e.json()).then(e=>{if(e&&e.data.user.stripeCustomer){const{payment:{exp_month:t,exp_year:r},subscriptions:i}=e.data.user.stripeCustomer,s=new Date;if(o.subscriptionStatus=i&&i.status?i.status:"",c.includes(o.subscriptionStatus)){if(i.current_period_end){const e=new Date(1e3*i.current_period_end),t=e.getTime()-s.getTime(),r=Math.floor(t/864e5);o.subscriptionExpirationInTwoMonthsOrLess=isTwoMonthsOrLess(e.getFullYear(),e.getMonth()+1),o.daysTillSubscriptionEnds=r}if(r&&t){const e=new Date(r,t-1);o.cardExpirationInTwoMonthsOrLess=isTwoMonthsOrLess(r,t),o.isExpired=endOfMonth(e){console.error("THERE WAS AN ERROR: ",e)})},r):E(o,t)});const S=(e,t=!1)=>{const r=[{id:"user alert",name:[{id:l,gtmNameValue:"Past Due Payment"},{id:c,gtmNameValue:"Card Has Expired"},{id:u,gtmNameValue:"Card Expiring Soon"},{id:d,gtmNameValue:"Verify Your Email"},{id:p,gtmNameValue:"Subscription Ending Soon"},{id:m,gtmNameValue:"Site or Service Outage"}].find(t=>t.id===e.type).gtmNameValue,creative:`${e.headline} || ${e.linkText}`,position:"top banner"}],i={event:t?"eec.promotionClick":"eec.promotionView",ecommerce:t?{promoClick:{promotions:r}}:{promoView:{promotions:r}}};gtm.reportNow(i)},g=(e="")=>JSON.stringify({query:`{\n user(email: "${e}") {\n stripeCustomer {\n hasCanceledSubscription\n payment {\n exp_year\n exp_month\n }\n subscriptions {\n status\n current_period_end\n }\n },\n }\n }`}),E=(t,a)=>{let p=(e=>{let t="";return e.cardExpirationInTwoMonthsOrLess&&(t=u),e.isExpired&&(t=c),"past_due"===e.subscriptionStatus&&(t=l),e.isEmailVerified||(t=d),e.siteIssue&&(t=m),t})(t);const h=a.filter(e=>e.type===p);if(h.length){const a=h[0],c=a.headline.replace("{site}",window.location.host).replace("{amountOfDays}",t.daysTillSubscriptionEnds);S(a),i.innerHTML=c,r.addEventListener("click",()=>{S(a,!0)}),a.useEmphasizedStyle&&r.classList.add("important"),a.bannerCTA?(a.url&&((y=e.querySelector(".banner-cta.link")).href=a.url),y.innerHTML=a.bannerCTA,p===d&&t.userId&&y.addEventListener("click",()=>{((e,t,r)=>fetch(`https://${window.location.host}/_user/verification-email?user_id=${e}`,{method:"GET",headers:{"Content-Type":"application/json"}}).then(e=>{t.innerHTML=e&&e.ok?`${r}
`:"There was an error processing the request. Please try again later.
"}).catch(e=>console.error("Error verifying email: ",e)))(t.userId,r.querySelector(".content"),a.bannerCTAVerification)})):(y.remove(),s.remove()),a.dismissable||n.remove(),a.useAlertIcon||o.remove(),r.classList.add("show"),n.addEventListener("click",()=>{r.classList.remove("show")})}else r.remove()}});}, {"3":3,"11":11,"12":12,"18":18,"25":25}];window.modules["global-nav.client"] = [function(require,module,exports){"use strict";const dom=require(4),auth0=require(18),signInButton=dom.find(".user-signin"),signOutButton=dom.find(".user-signout"),globalNav=dom.find('[class^="global-nav"]'),body=dom.find("body"),dropdownItems=dom.findAll(".dropdown-wrap"),gtm=require(3),pageUri=require(173).getPageUri(),subscriptionPromoLinks=dom.findAll(".persist-params"),searchString=window.location.search||"";function closeDropdowns(e){let t=globalNav.querySelectorAll(".dropdown.open");dropdownItems.forEach(function(n){let o=n.querySelector(".dropdown");!t||n.contains(e.target)&&27!==e.keyCode||o.classList.remove("open")})}function gtmSendReport(e,t,n){let o={eventCategory:"ecommerce",eventAction:"componentClick",brand:e,dimension23:"global-nav",list:pageUri,pageZone:"header",variant:"nav-link"};"global-nav-link"===n&&(o.eventLabel=t.href),gtm.reportNow(o)}function updateElementTargetUrlsIfQueryStrings(e){if(searchString){const t=new URLSearchParams(searchString);let n=e.href;if(n.includes("?")){const o=n.split("?"),i=new URLSearchParams(o[1]);for(let e of t.entries())i.set(e[0],e[1]);n=`${o[0]}?${i.toString()}`,e.href=n}else e.href=`${n}?${t.toString()}`}}function init(e){auth0.checkLogin().then(()=>{signInButton.addEventListener("click",function(e){e.preventDefault(),auth0.showLogin()}),signOutButton.addEventListener("click",function(e){e.preventDefault(),gtmSendReport("Sign Out",e.target,"user-info-link"),auth0.logout()}),auth0.isAuthenticated()&&e.classList.add("signed-in"),auth0.isSubscriber()&&e.classList.add("subscribed"),e.querySelectorAll(".user-link").forEach(e=>{e.classList.add("active")}),subscriptionPromoLinks.forEach(e=>{updateElementTargetUrlsIfQueryStrings(e)})})}dropdownItems.forEach(function(e){e.addEventListener("click",function(){e.querySelector(".dropdown").classList.toggle("open")})}),body.addEventListener("click",closeDropdowns),document.addEventListener("keydown",closeDropdowns),globalNav.addEventListener("click",function(e){let t=e.target;t.classList.contains("global-nav-track")&>mSendReport(t.text,t,"global-nav-link")}),module.exports=init;}, {"3":3,"4":4,"18":18,"173":173}];window.modules["aaa-module-mounting.legacy"] = [function(require,module,exports){"use strict";const _pickBy=require(176),_each=require(339),Fingerprint2=require(341),DS=require(340),Eventify=require(201);function registerGlobals(){window.DS=DS,window.Eventify=Eventify,window.Fingerprint2=Fingerprint2,DS.value("Eventify",Eventify),DS.value("Fingerprint2",Fingerprint2),DS.value("$document",window.document),DS.value("$window",window)}function mountDollarSliceComponents(){DS.service("components",["$document","$module",function(e,n){var o=_pickBy(n.definitions,e=>e.providerStrategy===n.providers.controller),r=Object.keys(o);function t(e){return o=>{try{n.get(e,o)}catch(e){logMountError(o,e)}}}_each(r,n=>{var o=e.querySelectorAll('[data-uri*="/_components/'+n+'/"]'),r=e.querySelectorAll('[data-uri$="/_components/'+n+'"]');_each(o,t(n)),_each(r,t(n))}),this.components=r}]),DS.get("components")}function logMountError(e,n){const o=e.outerHTML.slice(0,e.outerHTML.indexOf(e.innerHTML));console.error("Error attaching controller to "+o,n)}registerGlobals(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{mountDollarSliceComponents()}):mountDollarSliceComponents();}, {"176":176,"201":201,"339":339,"340":340,"341":341}];window.modules["ads.legacy"] = [function(require,module,exports){"use strict";const _map=require(88),_forEach=require(78),_isString=require(220),_intersectionWith=require(342),_isEqual=require(227),_each=require(339),_debounce=require(138),_sortBy=require(160),page=require(173),visit=require(85);DS.service("adService",["Eventify","$cid","$document","$window",function(e,t,a,i){var o,n,s,r,d,c,u,l,g,p,h,m={},f=this,b=[],w=visit.getQueryParamsObject(["utm_campaign"]),v=document.querySelector('script[data-type="ad-a9"]'),y=[],_=!1,T=[],S=document.querySelector('script[data-name="ad-doubleverify"]');document.querySelector('script[data-name="concert-ads"]')||(i.NYM={},i.NYM.analytics={},i.NYM.analytics.adStartTime=i.performance.now(),i.googletag=i.googletag||{},i.googletag.cmd=i.googletag.cmd||[],u=i.googletag,(v||S)&&(i.googletag.cmd=i.googletag.cmd||[],i.googletag.cmd.push(function(){i.googletag.pubads().disableInitialLoad()})),v&&(l=i.setInterval(function(){void 0!==window.apstag&&void 0!==window.apstag.timeout&&(i.clearInterval(l),window.apstag.cleared=!0,l=null)},10),setTimeout(function(){l&&(i.clearInterval(l),i.googletag.pubads().refresh(),window.apstag||console.log("MESSAGE: Timeout for A9 load exceeded, aborting"))},500)),S&&(y.push(new Promise(function(e){_?e():T.push(e)})),c=i.setTimeout(E,2500)),g=document.createElement("script"),p=document.createDocumentFragment(),h=document.getElementsByTagName("head")[0],g.src="https://z.moatads.com/voxprebidheader841653991752/moatheader.js",p.appendChild(g),h.insertBefore(p,h.firstChild),o=function(e){var t,a,o=e.data,n=[];return o.loaded?e:(o.loaded=!0,t=null,(t=o.sizes?u.defineSlot(o.name,o.sizes,o.id).addService(u.pubads()):u.defineOutOfPageSlot(o.name,o.id).addService(u.pubads())).setTargeting("adid",o.id),w.hasOwnProperty("utm_campaign")&&t.setTargeting("utmcamp",w.utm_campaign),a=f.getAdCount(o.label),t.setTargeting("label",o.label+"_"+o.site+"-"+a),u.display(o.id),u.pubads().addEventListener("slotOnload",function(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.data.label)}),n=q(o),Promise.all(y).then(function(){n?window.apstag&&window.apstag.cleared?window.apstag.fetchBids({slots:[n],timeout:window.apstag.timeout},function(){u.cmd.push(function(){window.apstag.setDisplayBids(),u.pubads().refresh([t],{changeCorrelator:!1})})}):S&&u.pubads().refresh([t],{changeCorrelator:!1}):u.pubads().refresh([t],{changeCorrelator:!1})}),e.slot=t,e)},n=function(e){var a,i,o,n=t(),s=e.getAttribute("data-name"),r=e.getAttribute("data-sizes"),d=e.getAttribute("data-label"),c=e.getAttribute("data-site");n=e.id,r&&r.length?(r=r.split(","),a=[],_map(r,function(e){e=e.split("x"),i=parseInt(e[0]),o=parseInt(e[1]),a.push([i,o])})):(e.classList.add("oop"),a=!1),this.data={id:n,name:s,sizes:a,loaded:!1,label:d,site:c},m[n]=this},r=function(e){u.cmd.push(function(){var t=o(e);m[e.data.id]=t})},s=function(e){var t=[];e.slot?(t=q(e))&&window.apstag&&window.apstag.cleared&&window.apstag.fetchBids({slots:[t],timeout:window.apstag.timeout},function(){u.cmd.push(function(){window.apstag.setDisplayBids(),u.pubads().refresh([e.slot],{changeCorrelator:!1})})}):e&&r(e)},u.cmd.push(function(){var e,t,o,n=page.getMeta("article:tag"),s=page.getMeta("author"),r=i.location.href,d=(e=a.head.querySelector(".head-gtm"),t=a.body.querySelector(".gtm"),e&&"top"===e.getAttribute("data-gtm")?"gtmtop":t&&"bottom"===t.getAttribute("data-gtm")?"gtmbottom":"");o=[],_forEach([n,s,d],function(e){_forEach(e.split(","),function(e){(e=e.trim().toLowerCase().replace(/\s/g,"-").replace(/\'|\'/g,"")).length&&o.push(e)})}),u.pubads().setTargeting("kw",o),u.pubads().setTargeting("entry_group",o),r=r.slice(r.lastIndexOf("/")+1),u.pubads().setTargeting("pn",r),u.companionAds().setRefreshUnfilledSlots(!0),u.pubads().enableAsyncRendering(),u.enableServices()}),this.load=r,this.create=function(e){return new n(e)},this.refresh=function(e){var t;_isString(e)?(t=this.getById(e),s(t)):s(e)},this.remove=function(e){var t=e.data.id;a.getElementById(t).innerHTML=""},this.getAdCount=function(e){var t,a=0,i=Object.keys(m);return _each(i,function(i){(t=m[i]).data.loaded&&t.data.label===e&&a++}),a},this.getById=function(e){return m[e]},d=_debounce(function(){var e={TopLeaderboard:1,RightColTopMPU:2,outOfPage:99,"homepageTakeover/TopLeaderboard":1},t=_sortBy(b,function(t){return e[t.data.label]||10});_forEach(t,function(e){return e.data.sizes?r(e):i.setTimeout(function(){r(e)},2e3)}),S&&window.PQ.cmd.push(()=>{try{window.PQ.loadSignals(["ids","bsc","vlp"],E)}catch(e){E(),console.error(`There has been an error loading Double Verify signals: ${e}`)}}),b=[]},10),this.addToPageLoadQueue=function(e){b.push(e),d()});function q(e){var t,a=e.sizes;return a=_intersectionWith(a,[[970,250],[970,90],[728,90],[300,600],[300,250],[320,100],[320,50]],_isEqual),e.sizes&&e.sizes.length&&(t={slotID:e.id,sizes:a,slotName:e.label}),t}function E(){i.clearTimeout(c),_=!0,_forEach(T,function(e){e()})}}]);}, {"78":78,"85":85,"88":88,"138":138,"160":160,"173":173,"220":220,"227":227,"339":339,"342":342}];window.modules["cid.legacy"] = [function(require,module,exports){"use strict";DS.service("$cid",function(){var r=Math.floor(100*Math.random());return function(){return"cid-"+ ++r}});}, {}];window.modules["client.legacy"] = [function(require,module,exports){"use strict";require("cid.legacy"),require("ads.legacy"),require("facebook.legacy"),require("aaa-module-mounting.legacy");}, {"cid.legacy":"cid.legacy","ads.legacy":"ads.legacy","facebook.legacy":"facebook.legacy","aaa-module-mounting.legacy":"aaa-module-mounting.legacy"}];window.modules["facebook.legacy"] = [function(require,module,exports){"use strict";DS.service("facebook",[function(){this.fb=function(i){window.FB&&window.FB[i].apply(this,Array.prototype.slice.call(arguments,1))}}]);}, {}];require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o typeof key === 'string' && key.match(/\.legacy$/)).forEach(key => window.require(key));}function tryToMount(fn, el, name) { try { fn(el); // init the controller } catch (e) { const elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML)); console.error(`Error initializing controller for "${name}" on "${elementTag}"`, e); }}/** * mount client.js component controllers */function mountComponentModules() { Object.keys(window.modules).filter(key => typeof key === 'string' && key.match(/\.client$/)).forEach(key => { let controllerFn = window.require(key); if (typeof controllerFn === 'function') { const name = key.replace('.client', ''), instancesSelector = `[data-uri*="_components/${name}/"]`, defaultSelector = `[data-uri$="_components${name}"]`, instances = document.querySelectorAll(instancesSelector), defaults = document.querySelectorAll(defaultSelector); for (let el of instances) { tryToMount(controllerFn, el, name); } for (let el of defaults) { tryToMount(controllerFn, el, name); } } });} // Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies,// services, or components that could require it// note: the `` value is swapped for the actual environment variable in /lib/cmd/compile/scripts.jswindow.process = window.process || {};window.process.env = window.process.env || {};if (!window.process.env.NODE_ENV) { window.process.env.NODE_ENV = '';} // note: legacy controllers that require legacy services (e.g. dollar-slice) must// wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted firstmountLegacyServices();mountComponentModules(); // ]]