< Back to 68k.news US front page

Hawkeye Series-Premiere Recap: The Most Wonderful Time of the Year?

Original source (on modern site) | Article images: [1] [2]

Hawkeye

Never Meet Your Heroes

Season 1 Episode 1

Editor's Rating 3 stars ***

Hawkeye

Never Meet Your Heroes

Season 1 Episode 1

Editor's Rating 3 stars ***

Photo: Chuck Zlotnick/Marvel Studios

It's Christmastime in New York, and all is not well for Clint Barton (Jeremy Renner), the bow-toting Avenger who'd really just like a break from the superheroism of his past and spend some time with his kids. That's why, when we first meet him in Hawkeye, the latest MCU extension to land on Disney+, he's in New York with his kids — Lila (Ava Russo), Cooper (Ben Sakamoto), and Nathaniel (Cade Woodward) — and not back home on the farm with his wife, Laura (Linda Cardellini). After all that world-saving and blipping out of existence, he needs some time to bond with the children and forget everything else for a few days ahead of Christmas. Except he can't, when the evening's entertainment includes Rogers: The Musical, a splashy Broadway show featuring the adventures of the Avengers. He can't when he gets approached for a selfie at a urinal. He can't when the owner of the Chinatown restaurant they visit for dinner insists on letting him eat for free. And he really can't when the news features a story involving Ronin, his discarded vigilante alter ego, apparently fleeing the scene of a crime (and seemingly saving a dog in the process). He's Hawkeye, and it looks like he's going to be stuck being Hawkeye no matter how hard he tries.

What Clint doesn't realize, even as the episode ends, is that he's now not the only archery enthusiast with a yen for justice roaming the streets of New York. He's not even the first archery enthusiast to appear in this first episode of Hawkeye, written by showrunner Jonathan Igla (a veteran of Mad Men, Bridgerton, and other series) and directed by Rhys Thomas. The premiere opens in 2012, a notable year in the MCU thanks to the Chitauri attack on New York. It's a different sort of battle troubling young Kate Bishop (Clara Stack), however, in the episode's first moments as she listens to her parents, Eleanor (Vera Farmiga) and Derek (Brian D'Arcy James), fight about whether or not they'll need to sell the luxury penthouse they call home.

But, before long, the arrival of the Chitauri makes the fight irrelevant. After witnessing Clint's heroics from the vantage of the penthouse's now-missing wall, Kate's left with only her mother to take care of her and a wish for one thing to serve as the focus of her attention: a bow and arrow. Flash-forward nine years, and the now college-age Kate (Hailee Steinfeld) has held onto her love for archery — and developed a talent for getting into mischief with it. She's earned trophies but also picked up a steep bill for her mother to pay after an amazing shot destroys a clock tower. Though annoyed, Eleanor has the resources to pay the bill. Whatever has happened in the interim she's found a way to hold onto the penthouse and accumulate wealth.

When Kate returns home for the holidays, she discovers Eleanor has accumulated something else as well. (Kate also keeps a separate residence away from her mom. It's kind of a dump but, factoring in New York rents, it's another sign that the Bishop family isn't hurting for money.) Specifically, she notices that the penthouse is now filled with swords. It's also now apparently frequented by Jack Duquesne (Better Call Saul's Tony Dalton), who's become quite intimate with Eleanor.

For comics readers, it's not hard to connect the dots between the Duquesne name and all those swords, which helps explain why both Jack and his father Armand (Simon Callow) are so eager to obtain a one-of-a-kind retractable sword when it turns up at a charity auction, one held in the secret backroom of another charity event, and one Kate wouldn't have witnessed at all if she hadn't coincidentally decided to attend in the same sort of black tuxedo used by the event's waitstaff.

However, for Kate's curiosity, it proves to be a fortunate coincidence (even if it plays as something of a screenwriterly convenience). Not long after Armand mentions Eleanor and Armand's engagement to Kate — news that takes her aback — she witnesses Eleanor and Armand having some kind of argument. Slipping behind the scenes, she stumbles on the auction, watches as the fabulously rich bid on rare items — a dinosaur skull precedes Ronin's sword — then finds herself donning the next item up for bid, Ronin's costume, and putting her martial arts skills to the test when a gang of tracksuit-clad Russian criminals with a fondness for the word "bro" crash bomb their way into the auction in search of a clock.

This detail will also ring some bells for readers of the comics that helped inspire the series, a 23-issue mid-'10s run written by Matt Fraction (he serves as a series consultant) and drawn by David Aja that remade Hawkeye as an ordinary guy just trying to protect the residents of a New York apartment building. ("This is what he does when he's not being an Avenger," the book's introductory text established.) Hawkeye can't quite do that. Being part of the MCU means Clint carries too much baggage and recent trauma into the series for the story to ignore. The sight of an actor playing Black Widow in Rogers: The Musical triggers so much distress he turns off his hearing aid. And he's still haunted by his murderous actions as Ronin. After all that, it's hard to go back to being a fun-loving dad (and traveling the galaxy, losing Tony Stark and Steve Rogers, and watching half the population disappear). But Hawkeye seems to be pulling Clint in a more street-level direction. WandaVision took the form of a dark post-modern romp. The Falcon and the Winter Soldier worked as a globetrotting action movie in miniseries form. Loki offered up a twisty, cosmic adventure. At least at this early stage, Hawkeye looks like it could be the MCU's first mystery procedural. It even ends with an unsolved crime: the murder of Armand.

But how does it work? This premiere gets things off to a promising if short-on-fireworks start. It also has a lot of setting up to do, so much that we barely get to know the grown-up Kate before she's off investigating a mystery (though casting the charming Steinfeld helps make that less of a problem) and only gets faint hints of what Clint's going through. The episode also ends with a moment that sets up the element that, assuming it continues to borrow from Fraction and Aja's work, ought to be the heart of the series: Clint's mentorship of Kate. But whether Renner and Steinfeld will be as fun together as Clint and Kate were on the page remains to be seen.

Still, all signs point to yes, and there's a lot to like in this first outing. The appropriately tacky musical, which features a peppy song composed by the Hairspray team of Marc Shaiman and Scott Wittman, is fun, Igla and Thomas keep the pace brisk, and the Christmas season setting gives Hawkeye an atmosphere that sets it apart from other MCU stories (though the score's constant referencing of "Carol of the Bells" might drive the point home a little too insistently). Supporting players like Farmiga don't have that much to do in this episode; you don't hire actors like that without plans to make good use of them. Plus, in another element ported over from the Fraction/Aja comics, there's an adorable, resourceful one-eyed dog in the mix, the one and only Pizza Dog (who earns his name quickly after Kate brings him back to her apartment). All in all, it's a promising start even when the premiere doesn't quite hit … what's an archery term that would work here?

• Though Spider-Man: Turn Off The Dark seems like an obvious satirical target given its Marvel-ness, Rogers: The Musical seems like a more conventional sort of 21st-century IP-driven Broadway musical. Is this the last we see or hear of it? It would make a fun running gag.

• Kate attends a college with a building called Stane Tower, a callback to the villainous Obadiah Stane, played by Jeff Bridges in Iron Man. Is this merely an Easter egg, or should we expect the Stane family to figure into this story somehow? It's the sort of family that would socialize with the Bishops and the Duquesnes.

• In the bathroom, Clint encounters graffiti reading "Thanos Was Right," which has to chafe. Is this just a bit of cynical graffiti, or should we now imagine an MCU with a pro-Thanos contingent? Surely a powerful but inarguably hateful and destructive leader who's been defeated and disgraced in such a public fashion couldn't still have followers, right? Superhero stories are wild.

• If you like Pizza Dog, you're going to love the Instagram account of Jolt, the golden retriever thespian who plays him. (Jolt has both eyes, incidentally.)

• Clint's need for a hearing aid is new to the character in the MCU, but Clint's hearing loss roots in the comics. It's a fitting touch: Clint's a superhero without superpowers. He's just a guy who's been around all kinds of loud noises for a long time. It makes sense.

• To say more about Jack Duquesne's comic book analog now would probably count as a spoiler. But it's there waiting to be googled if you're curious.

• "What would you do in a hurricane?" Kate asks her father. "I would do what I always do: protect you," he replies. That line seems significant. James is a cast member. We probably haven't seen the last of him.

• Monogrammed butterscotch? Is this a clue, or are the Duquesnes just that rich?

Hawkeye Series-Premiere Recap

Things you buy through our links may earn New York a commission.

"]:[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["374"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),types_1=require(378),utils_1=require(379),eventbuilder_1=require(375),transports_1=require(380),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; }, {"375":375,"376":376,"377":377,"378":378,"379":379,"380":380}]; window.modules["375"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),types_1=require(378),utils_1=require(379),parsers_1=require(385),tracekit_1=require(384);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; }, {"376":376,"378":378,"379":379,"384":384,"385":385}]; window.modules["376"] = [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["377"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var minimal_1=require(407);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(402);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(398);exports.API=api_1.API;var baseclient_1=require(401);exports.BaseClient=baseclient_1.BaseClient;var basebackend_1=require(399);exports.BaseBackend=basebackend_1.BaseBackend;var request_1=require(405);exports.eventToSentryRequest=request_1.eventToSentryRequest,exports.sessionToSentryRequest=request_1.sessionToSentryRequest;var sdk_1=require(406);exports.initAndBind=sdk_1.initAndBind;var noop_1=require(400);exports.NoopTransport=noop_1.NoopTransport;var version_1=require(404);exports.SDK_VERSION=version_1.SDK_VERSION;var Integrations=require(408);exports.Integrations=Integrations; }, {"398":398,"399":399,"400":400,"401":401,"402":402,"404":404,"405":405,"406":406,"407":407,"408":408}]; window.modules["378"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var loglevel_1=require(415);exports.LogLevel=loglevel_1.LogLevel;var session_1=require(417);exports.SessionStatus=session_1.SessionStatus,exports.RequestSessionStatus=session_1.RequestSessionStatus;var severity_1=require(416);exports.Severity=severity_1.Severity;var status_1=require(418);exports.Status=status_1.Status;var transaction_1=require(419);exports.TransactionSamplingMethod=transaction_1.TransactionSamplingMethod; }, {"415":415,"416":416,"417":417,"418":418,"419":419}]; window.modules["379"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376);tslib_1.__exportStar(require(420),exports),tslib_1.__exportStar(require(421),exports),tslib_1.__exportStar(require(423),exports),tslib_1.__exportStar(require(424),exports),tslib_1.__exportStar(require(437),exports),tslib_1.__exportStar(require(422),exports),tslib_1.__exportStar(require(430),exports),tslib_1.__exportStar(require(426),exports),tslib_1.__exportStar(require(431),exports),tslib_1.__exportStar(require(429),exports),tslib_1.__exportStar(require(438),exports),tslib_1.__exportStar(require(427),exports),tslib_1.__exportStar(require(432),exports),tslib_1.__exportStar(require(428),exports),tslib_1.__exportStar(require(433),exports),tslib_1.__exportStar(require(434),exports),tslib_1.__exportStar(require(435),exports),tslib_1.__exportStar(require(436),exports); }, {"376":376,"420":420,"421":421,"422":422,"423":423,"424":424,"426":426,"427":427,"428":428,"429":429,"430":430,"431":431,"432":432,"433":433,"434":434,"435":435,"436":436,"437":437,"438":438}]; window.modules["380"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var base_1=require(395);exports.BaseTransport=base_1.BaseTransport;var fetch_1=require(396);exports.FetchTransport=fetch_1.FetchTransport;var xhr_1=require(397);exports.XHRTransport=xhr_1.XHRTransport; }, {"395":395,"396":396,"397":397}]; window.modules["381"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),utils_1=require(379),backend_1=require(374),helpers_1=require(382),integrations_1=require(383),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; }, {"374":374,"376":376,"377":377,"379":379,"382":382,"383":383}]; window.modules["382"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),utils_1=require(379),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; }, {"376":376,"377":377,"379":379}]; window.modules["383"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var globalhandlers_1=require(391);exports.GlobalHandlers=globalhandlers_1.GlobalHandlers;var trycatch_1=require(392);exports.TryCatch=trycatch_1.TryCatch;var breadcrumbs_1=require(390);exports.Breadcrumbs=breadcrumbs_1.Breadcrumbs;var linkederrors_1=require(393);exports.LinkedErrors=linkederrors_1.LinkedErrors;var useragent_1=require(394);exports.UserAgent=useragent_1.UserAgent; }, {"390":390,"391":391,"392":392,"393":393,"394":394}]; window.modules["384"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),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; }, {"376":376,"377":377,"378":378,"379":379}]; window.modules["391"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),types_1=require(378),utils_1=require(379),eventbuilder_1=require(375),helpers_1=require(382),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; }, {"375":375,"376":376,"377":377,"378":378,"379":379,"382":382}]; window.modules["392"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),utils_1=require(379),helpers_1=require(382),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; }, {"376":376,"377":377,"379":379,"384":384,"385":385}]; window.modules["394"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),utils_1=require(379),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; }, {"376":376,"377":377,"379":379}]; window.modules["395"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),types_1=require(378),utils_1=require(379),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; }, {"376":376,"377":377,"378":378,"379":379}]; window.modules["396"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),utils_1=require(379),base_1=require(395);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; }, {"376":376,"377":377,"379":379,"395":395}]; window.modules["397"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),core_1=require(377),utils_1=require(379),base_1=require(395),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; }, {"376":376,"377":377,"379":379,"395":395}]; window.modules["398"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(379),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; }, {"379":379}]; window.modules["399"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(379),noop_1=require(400),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; }, {"379":379,"400":400}]; window.modules["400"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(378),utils_1=require(379),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; }, {"378":378,"379":379}]; window.modules["401"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),hub_1=require(402),types_1=require(378),utils_1=require(379),integration_1=require(403),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; }, {"376":376,"378":378,"379":379,"402":402,"403":403}]; window.modules["402"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var scope_1=require(413);exports.addGlobalEventProcessor=scope_1.addGlobalEventProcessor,exports.Scope=scope_1.Scope;var session_1=require(412);exports.Session=session_1.Session;var sessionFlusher_1=require(414);exports.SessionFlusher=sessionFlusher_1.SessionFlusher;var hub_1=require(411);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; }, {"411":411,"412":412,"413":413,"414":414}]; window.modules["403"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),hub_1=require(402),utils_1=require(379);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; }, {"376":376,"379":379,"402":402}]; window.modules["404"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDK_VERSION="6.7.2"; }, {}]; window.modules["405"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376);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; }, {"376":376}]; window.modules["406"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var hub_1=require(402),utils_1=require(379);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; }, {"379":379,"402":402}]; window.modules["407"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),hub_1=require(402);function callOnHub(t){for(var e=[],r=1;r=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; }, {"378":378,"379":379}]; window.modules["413"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),utils_1=require(379),MAX_BREADCRUMBS=100,Scope=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(s){var e=new t;return s&&(e._breadcrumbs=tslib_1.__spread(s._breadcrumbs),e._tags=tslib_1.__assign({},s._tags),e._extra=tslib_1.__assign({},s._extra),e._contexts=tslib_1.__assign({},s._contexts),e._user=s._user,e._level=s._level,e._span=s._span,e._session=s._session,e._transactionName=s._transactionName,e._fingerprint=s._fingerprint,e._eventProcessors=tslib_1.__spread(s._eventProcessors),e._requestSession=s._requestSession),e},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=tslib_1.__assign(tslib_1.__assign({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,s){var e;return this._tags=tslib_1.__assign(tslib_1.__assign({},this._tags),((e={})[t]=s,e)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=tslib_1.__assign(tslib_1.__assign({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,s){var e;return this._extra=tslib_1.__assign(tslib_1.__assign({},this._extra),((e={})[t]=s,e)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,s){var e;return null===s?delete this._contexts[t]:this._contexts=tslib_1.__assign(tslib_1.__assign({},this._contexts),((e={})[t]=s,e)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t,s,e,i,n=this.getSpan();return(null===(t=n)||void 0===t?void 0:t.transaction)?null===(s=n)||void 0===s?void 0:s.transaction:(null===(i=null===(e=n)||void 0===e?void 0:e.spanRecorder)||void 0===i?void 0:i.spans[0])?n.spanRecorder.spans[0]:void 0},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(s){if(!s)return this;if("function"==typeof s){var e=s(this);return e instanceof t?e:this}return s instanceof t?(this._tags=tslib_1.__assign(tslib_1.__assign({},this._tags),s._tags),this._extra=tslib_1.__assign(tslib_1.__assign({},this._extra),s._extra),this._contexts=tslib_1.__assign(tslib_1.__assign({},this._contexts),s._contexts),s._user&&Object.keys(s._user).length&&(this._user=s._user),s._level&&(this._level=s._level),s._fingerprint&&(this._fingerprint=s._fingerprint),s._requestSession&&(this._requestSession=s._requestSession)):utils_1.isPlainObject(s)&&(s=s,this._tags=tslib_1.__assign(tslib_1.__assign({},this._tags),s.tags),this._extra=tslib_1.__assign(tslib_1.__assign({},this._extra),s.extra),this._contexts=tslib_1.__assign(tslib_1.__assign({},this._contexts),s.contexts),s.user&&(this._user=s.user),s.level&&(this._level=s.level),s.fingerprint&&(this._fingerprint=s.fingerprint),s.requestSession&&(this._requestSession=s.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,s){var e="number"==typeof s?Math.min(s,MAX_BREADCRUMBS):MAX_BREADCRUMBS;if(e0?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; }, {"376":376,"379":379}]; window.modules["414"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(378),utils_1=require(379),hub_1=require(411),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; }, {"378":378,"379":379,"411":411}]; window.modules["415"] = [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["416"] = [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["417"] = [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["418"] = [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["419"] = [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["420"] = [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["421"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(422);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; }, {"376":376,"424":424}]; window.modules["424"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(376),polyfill_1=require(425),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; }, {"376":376,"425":425}]; window.modules["425"] = [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["426"] = [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 : {})}, {"429":429,"433":433}]; window.modules["432"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var error_1=require(424),syncpromise_1=require(435),PromiseBuffer=function(){function e(e){this._limit=e,this._buffer=[]}return e.prototype.isReady=function(){return void 0===this._limit||this.length()0&&t(!1)},e);syncpromise_1.SyncPromise.all(r._buffer).then(function(){clearTimeout(n),t(!0)}).then(null,function(){t(!0)})})},e}();exports.PromiseBuffer=PromiseBuffer; }, {"424":424,"435":435}]; window.modules["433"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(422);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),s2?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"}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 : {})}, {"376":376,"421":421,"422":422,"426":426,"428":428,"433":433}]; window.modules["462"] = [function(require,module,exports){}, {}]; window.modules["532"] = [function(require,module,exports){}, {}]; window.modules["547"] = [function(require,module,exports){(function (process){(function (){ function normalizeArray(r,t){for(var e=0,n=r.length-1;n>=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["746"] = [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","⩴":"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","⟩":"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","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"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","↩":"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","∩":"cap","∩︀":"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","≩":"gnE","≩︀":"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","⊩":"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","⋩":"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","╩":"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","⤩":"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","⥩":"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","⦩":"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","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"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","⪩":"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","⫩":"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","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"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","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"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","𝒩":"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","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"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","ʼn":"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","Ω":"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","Щ":"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:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",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:"╩",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:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",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:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",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:"⩷",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:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",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:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",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:"↩",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:"℩",ijlig:"ij",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:"ĩ",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:"↩",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:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",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,"&nvgt;").replace(/<\u20D2/g,"&nvlt;").replace(/fj/g,"&fjlig;")),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,"&nvgt;").replace(/<\u20D2/g,"&nvlt;")).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["747"] = [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["771"] = [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(802),"undefined"!=typeof module&&module.exports?module.exports=i:n.jsonpClient=i}(this); }).call(this)}).call(this,require(35))}, {"35":35,"802":802}]; window.modules["802"] = [function(require,module,exports){(function (process,global){(function (){ "use strict";var evalJsonp,parseJsonp,evalOrParseJavascript,fetchRemoteJsonp,fetchUrl,fetchLocalJsonp,request=require(462),vm=require(803),fs=require(532),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(462)(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(35),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"35":35,"462":462,"532":532,"803":803}]; window.modules["803"] = [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; }, {"874":874}]; window.modules["821"] = [function(require,module,exports){var assocIndexOf=require(874);function listCacheSet(s,e){var t=this.__data__,a=assocIndexOf(t,s);return a-1}module.exports=arrayIncludes; }, {"850":850}]; window.modules["850"] = [function(require,module,exports){var baseFindIndex=require(905),baseIsNaN=require(923),strictIndexOf=require(922);function baseIndexOf(e,s,n){return s==s?strictIndexOf(e,s,n):baseFindIndex(e,baseIsNaN,n)}module.exports=baseIndexOf; }, {"905":905,"922":922,"923":923}]; window.modules["851"] = [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["881"] = [function(require,module,exports){var Stack=require(836),arrayEach=require(846),assignValue=require(873),baseAssign=require(875),baseAssignIn=require(877),cloneBuffer=require(885),copyArray=require(863),copySymbols=require(888),copySymbolsIn=require(886),getAllKeys=require(887),getAllKeysIn=require(882),getTag=require(883),initCloneArray=require(884),initCloneByTag=require(892),initCloneObject=require(889),isArray=require(187),isBuffer=require(855),isMap=require(890),isObject=require(126),isSet=require(891),keys=require(186),keysIn=require(878),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,"836":836,"846":846,"855":855,"863":863,"873":873,"875":875,"877":877,"878":878,"882":882,"883":883,"884":884,"885":885,"886":886,"887":887,"888":888,"889":889,"890":890,"891":891,"892":892}]; window.modules["882"] = [function(require,module,exports){var baseGetAllKeys=require(915),getSymbolsIn=require(1013),keysIn=require(878);function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,getSymbolsIn)}module.exports=getAllKeysIn; }, {"878":878,"915":915,"1013":1013}]; window.modules["883"] = [function(require,module,exports){var DataView=require(805),Map=require(824),Promise=require(831),Set=require(832),WeakMap=require(844),baseGetTag=require(916),toSource=require(939),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; }, {"805":805,"824":824,"831":831,"832":832,"844":844,"916":916,"939":939}]; window.modules["884"] = [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["885"] = [function(require,module,exports){var root=require(806),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; }, {"806":806}]; window.modules["886"] = [function(require,module,exports){var copyObject=require(876),getSymbolsIn=require(1013);function copySymbolsIn(e,o){return copyObject(e,getSymbolsIn(e),o)}module.exports=copySymbolsIn; }, {"876":876,"1013":1013}]; window.modules["887"] = [function(require,module,exports){var baseGetAllKeys=require(915),getSymbols=require(1012),keys=require(186);function getAllKeys(e){return baseGetAllKeys(e,keys,getSymbols)}module.exports=getAllKeys; }, {"186":186,"915":915,"1012":1012}]; window.modules["888"] = [function(require,module,exports){var copyObject=require(876),getSymbols=require(1012);function copySymbols(e,o){return copyObject(e,getSymbols(e),o)}module.exports=copySymbols; }, {"876":876,"1012":1012}]; window.modules["889"] = [function(require,module,exports){var baseCreate=require(816),getPrototype=require(1045),isPrototype=require(951);function initCloneObject(e){return"function"!=typeof e.constructor||isPrototype(e)?{}:baseCreate(getPrototype(e))}module.exports=initCloneObject; }, {"816":816,"951":951,"1045":1045}]; window.modules["890"] = [function(require,module,exports){var baseIsMap=require(935),baseUnary=require(894),nodeUtil=require(1055),nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap; }, {"894":894,"935":935,"1055":1055}]; window.modules["891"] = [function(require,module,exports){var baseIsSet=require(942),baseUnary=require(894),nodeUtil=require(1055),nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet; }, {"894":894,"942":942,"1055":1055}]; window.modules["892"] = [function(require,module,exports){var cloneArrayBuffer=require(1007),cloneDataView=require(1008),cloneRegExp=require(1009),cloneSymbol=require(1010),cloneTypedArray=require(966),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; }, {"966":966,"1007":1007,"1008":1008,"1009":1009,"1010":1010}]; window.modules["894"] = [function(require,module,exports){function baseUnary(n){return function(r){return n(r)}}module.exports=baseUnary; }, {}]; window.modules["895"] = [function(require,module,exports){function cacheHas(a,c){return a.has(c)}module.exports=cacheHas; }, {}]; window.modules["896"] = [function(require,module,exports){var baseForOwn=require(897),createBaseEach=require(898),baseEach=createBaseEach(baseForOwn);module.exports=baseEach; }, {"897":897,"898":898}]; window.modules["897"] = [function(require,module,exports){var baseFor=require(909),keys=require(186);function baseForOwn(e,r){return e&&baseFor(e,r,keys)}module.exports=baseForOwn; }, {"186":186,"909":909}]; window.modules["898"] = [function(require,module,exports){var isArrayLike=require(957);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; }, {"859":859,"908":908}]; window.modules["908"] = [function(require,module,exports){var Symbol=require(842),isArguments=require(854),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,"842":842,"854":854}]; window.modules["909"] = [function(require,module,exports){var createBaseFor=require(910),baseFor=createBaseFor();module.exports=baseFor; }, {"910":910}]; window.modules["910"] = [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["912"] = [function(require,module,exports){var castPath=require(913),toKey=require(914);function baseGet(e,t){for(var a=0,r=(t=castPath(t,e)).length;null!=e&&at}module.exports=baseGt; }, {}]; window.modules["921"] = [function(require,module,exports){function baseHasIn(n,e){return null!=n&&e in Object(n)}module.exports=baseHasIn; }, {}]; window.modules["922"] = [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; }, {"1011":1011}]; window.modules["974"] = [function(require,module,exports){var baseGet=require(912),baseSet=require(975),castPath=require(913);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,"945":945,"957":957}]; window.modules["1024"] = [function(require,module,exports){var flatten=require(127),overRest=require(986),setToString=require(985);function flatRest(e){return setToString(overRest(e,void 0,flatten),e+"")}module.exports=flatRest; }, {"127":127,"985":985,"986":986}]; window.modules["1031"] = [function(require,module,exports){var toNumber=require(1033),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["1059"] = [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["1063"] = [function(require,module,exports){var root=require(806),now=function(){return root.Date.now()};module.exports=now; }, {"806":806}]; window.modules["1064"] = [function(require,module,exports){var baseRest=require(984),eq=require(872),isIterateeCall=require(1016),keysIn=require(878),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;l{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["1200"] = [function(require,module,exports){"use strict";module.exports=(e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)); }, {}]; window.modules["1203"] = [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["1220"] = [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["1236"] = [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}; }, {"1238":1238}]; window.modules["1240"] = [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["1261"] = [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["1358"] = [function(require,module,exports){"use strict";const _map=require(88),_get=require(6),_isArray=require(187),_set=require(145),_isObject=require(126),_cloneDeep=require(98),_uniq=require(128);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; }, {"6":6,"88":88,"98":98,"126":126,"128":128,"145":145,"187":187}]; window.modules["1359"] = [function(require,module,exports){(function (process,__filename){(function (){ "use strict";const _forEach=require(78),_get=require(6),_filter=require(171),_map=require(88),_isEmpty=require(125),urlParse=require(89),log=require(14).setup({file:__filename}),queryService=require(1358),universalRest=require(23),agoraLib=require(367),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(35),"/services/universal/agora.js")}, {"6":6,"14":14,"23":23,"35":35,"78":78,"88":88,"89":89,"125":125,"171":171,"246":246,"367":367,"1358":1358}]; window.modules["1360"] = [function(require,module,exports){"use strict";const _map=require(88),_mapValues=require(241),_reduce=require(129),_assign=require(175),_get=require(6),_pickBy=require(176),{getAffiliateMetadata:getAffiliateMetadata,getAffiliateByUrl:getAffiliateByUrl}=require(84),affiliateFields=["siteShortKey","pageUri","productId","utmMedium","utmSource","sessionCount","format","utmCampaign","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:50,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",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"),p=_get(affiliateSettings[e],"assignBy","="),c=_get(affiliateSettings[e],"joinBy","&"),m=delimiters[l];let b,y,S=a.indexOf("?")>=0?a.split("?").pop():"",_=parseQuery(S),h=getSubtagData({getters:t,fields:n,visitState:i,locals:s,productLink:a});return r&&(y=_[r]||"",y=applySubtagMaxlength(b=generateSubtag(h=_assign(parseSubtag(y,m),_pickBy(h)),e,m,g),o),_[r]=y,S=_map(_,(t,e)=>`${e}=${t}`).join("&"),a=u?processSubtagPosition({url:a,positionKey:f,subtagKey:r,position:d,subtagString:y,joinBy:c,assignBy:p}):a.split("?")[0]+`?${S}`),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; }, {"6":6,"84":84,"88":88,"129":129,"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(17);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,"17":17,"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(81),$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}]); }, {"81":81,"91":91}]; window.modules["comments-link.client"] = [function(require,module,exports){"use strict";const dom=require(4),_get=require(6),_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,"6":6,"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(12)();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)}); }, {"12":12,"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(17);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)}); }, {"17":17,"92":92}]; window.modules["latest-news.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=dom.findAll(a,"source[data-srcset]"),e=dom.closest(a,".result");if(o&&e){new lazyLoad.LazyLoader(e,o,d).init()}}function handleLazyLoad(a){(dom.findAll(a,".result")||[]).forEach(lazyLoadImage)}module.exports=(a=>{handleLazyLoad(a)}); }, {"4":4,"134":134}]; window.modules["coral-talk.client"] = [function(require,module,exports){"use strict";const dom=require(4),visibility=require(5),auth0=require(17);let coralEmbed,hasEmbedScriptLoaded=!1,hasCoralTalkRendered=!1;function renderComments(e){if(hasEmbedScriptLoaded&&!hasCoralTalkRendered){const t={talk:`${e.CORAL_TALK_HOST}`,auth_token:auth0.getAuthJwt(),asset_url:e.TALK_ASSET_URL};hasCoralTalkRendered=!0,coralEmbed=window.Coral.Talk.render(e.commentStreamContainer,t)}}function coralLogin(){coralEmbed.login(auth0.getAuthJwt())}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,"17":17}]; window.modules["choreographer.client"] = [function(require,module,exports){"use strict";const cookie=require(77),_get=require(6),_omit=require(118),{insertSpeedBumpComponents:insertSpeedBumpComponents}=require(115),{insertNewsletterSpeedBumpComponents:insertNewsletterSpeedBumpComponents}=require(116),{generateGrowl:generateGrowl}=require(114),gtm=require(3),{getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage}=require(62),{reportPaywall:reportPaywall}=require(90),moment=require(42),{getClientHistory:getClientHistory,updateClientHistoryWithPageData:updateClientHistoryWithPageData}=require(117),auth0=require(17),{Scenario:Scenario}=require(111),cidReadyEvent="nymcid-set",cidKey="nymcid",isProduction=require(12)(),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,"6":6,"12":12,"17":17,"42":42,"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["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["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(17),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,"17":17,"119":119,"125":125,"145":145,"146":146}]; window.modules["content-cliff.client"] = [function(require,module,exports){"use strict";const auth0=require(17),isProduction=require(12)(),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}); }, {"12":12,"17":17,"112":112}]; window.modules["ad.client"] = [function(require,module,exports){"use strict";const _forEach=require(78),_max=require(80),_find=require(81),_includes=require(79),$visibility=require(5),dom=require(4),MAX_MOBILE_RE=/[[0-9]{1,3}-(768|600)/,MAX_TABLET_RE=/[0-9]{3}-(1024|1180)/,DESKTOP_RE=/(1024|1180)-plus/,AD_NAME_SELECTOR='[data-name^="/4088/"], [data-name^="/172968584/"]';var flaggedComponentsOnPage=function(){var e,t=document.querySelector(".article-content"),n=[];return t&&_forEach(['.article-sidebar[data-width="large"]'],function(a){e=t.querySelectorAll(a),_forEach(e,function(e){n.push(e)})}),n}();function getElementsVerticalOverlap(e,t){var n=e.getBoundingClientRect(),a=t.getBoundingClientRect();return!(n.top>a.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="//www.googletagservices.com/tag/js/gpt.js",e.async="async",t.src="//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["sticky-list.client"] = [function(require,module,exports){"use strict";const dom=require(4),$gtm=require(3),_get=require(6),stickyContainer=require("sticky-container.client");DS.controller("sticky-list",["$window",function(t){var e=require(256),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(;i{handleLazyLoad(a)}); }, {"4":4,"134":134}]; 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),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){function t(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 t.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||"An error occurred. Please try again.",this.returnMsg.focus()},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){}}},t}]); }, {"3":3,"4":4,"90":90,"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(79),_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,"79":79,"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(17),gtm=require(3),isProd=require(12)(),endOfMonth=require(24),readJSONFromScript=e=>{try{return JSON.parse(e.innerHTML)}catch(e){return{alerts:[]}}};module.exports=(e=>{const t=e.querySelector(".customer-alert-container"),r=e.querySelector(".alert-headline"),i=e.querySelector(".bold-link"),n=e.querySelector(".link-chevrons"),s=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`,u="card-expired",l="card-update",c="past-due",d="verify-email",p="subscription-ending",m="site-issue";auth0.on("init",()=>{const e=auth0.getEmail(),t=1e3*(Math.floor(3*Math.random())+1),r=auth0.isAuthenticated(),i=auth0.isSubscriber();r&&i&&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,n=new Date,s={isExpired:!1,subscriptionStatus:null!==i&&i.status?i.status:"",expirationInTwoMonthsOrLess:!1},o=["active","past_due","trialing","unpaid"];if(null!==r&&null!==t){const e=new Date(r,t-1);s.expirationInTwoMonthsOrLess=S(r,t,n),s.isExpired=endOfMonth(e){console.error("THERE WAS AN ERROR: ",e)})},t)});const h=(e,t=!1)=>{const r=[{id:"user alert",name:[{id:c,gtmNameValue:"Past Due Payment"},{id:u,gtmNameValue:"Card Has Expired"},{id:l,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 }\n },\n }\n }`}),S=(e,t,r)=>{const i=t{const{alerts:d=[]}=readJSONFromScript(e.querySelector("script"));let p=(e=>{let t="";return e.expirationInTwoMonthsOrLess&&(t=l),"past_due"===e.subscriptionStatus&&(t=c),e.isExpired&&(t=u),t})(a);const m=d.filter(e=>e.type===p);if(m.length){const e=m[0];h(e),r.innerHTML=e.headline.replace("{site}",window.location.host),t.addEventListener("click",()=>{h(e,!0)}),e.useEmphasizedStyle&&t.classList.add("important"),e.linkText&&e.url?(i.innerHTML=e.linkText,i.href=e.url):(i.remove(),n.remove()),e.dismissable||s.remove(),e.useAlertIcon||o.remove(),t.classList.add("show"),s.addEventListener("click",()=>{t.classList.remove("show")})}else t.remove()}}); }, {"3":3,"12":12,"17":17,"24":24}]; window.modules["global-nav.client"] = [function(require,module,exports){"use strict";const dom=require(4),auth0=require(17),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")&&gtmSendReport(t.text,t,"global-nav-link")}),module.exports=init; }, {"3":3,"4":4,"17":17,"173":173}]; window.modules["aaa-module-mounting.legacy"] = [function(require,module,exports){"use strict";const _pickBy=require(176),_each=require(339),Fingerprint2=require(338),DS=require(337),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,"337":337,"338":338,"339":339}]; window.modules["ads.legacy"] = [function(require,module,exports){"use strict";const _map=require(88),_forEach=require(78),_isString=require(220),_intersectionWith=require(340),_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,"340":340}]; 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.js window.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 first mountLegacyServices(); mountComponentModules(); // ]]

< Back to 68k.news US front page